-
AuthorPosts
-
October 21, 2015 at 9:37 am #522205
Hi!
Our Blog Masonry comes with many preview pictures of blog post videos (post format video).
Unfortunately the user has first to open the single post to watch the video – that’s right?
Do you think we can open the video of a blog post (post format video) on blog masonry in a lightbox?
Or do you have another idea?
Thanks, BerndOctober 22, 2015 at 5:25 am #522726Hey profil77,
Could you provide us with a link to the site in question so that we can take a closer look please?
Thanks,
RikardOctober 22, 2015 at 10:17 am #522814Hi Rikard!
Thanks …October 23, 2015 at 7:42 am #523495Hi!
Thank you for the update. You can change the post format of the “video posts” to Link format. Add the url of the video in the text editor. It will automatically open the video inside a lightbox when clicked. If you want to make sure that there is a video icon, edit config-templatebuilder > avia-shortcodes > masonry_entries.php file, look for this code around line 766:
case 'link' :
.. replace it with:
case 'link' : if($this->loop[$key]['thumb_ID']) { $this->loop[$key]['text_before'] = av_icon_display('video', 'av-masonry-media'); }
Cheers!
IsmaelOctober 27, 2015 at 12:09 pm #525443Hi Ismael!
Sorry for the delay, but our festival was running last week.
If we add the url of the video as “excerpt”, everything works fine in the way you described.
However we can’t adjust it generally, because our frontpage and our footer show a “magazine” – displaying the url of the video as excerpt. The link from the magazine leads to the single post, which looks not so well designed as the single post with post-format “Video”.
I think we’ll follow your solution on case-by-case.
Thanks a lot,
BerndOctober 29, 2015 at 6:57 am #526541Hey!
What if you add a separate summary in the Excerpt box? Edit the post then look for the Screen Options. Enable the excerpt box.
Cheers!
IsmaelOctober 29, 2015 at 9:30 am #526602Hi Ismael!
Thanks, but we have already filled the excerpt box with the url of the video to open the video in a lightbox.
The video doesn’t open in the lightbox, if we add the url of the video to the text editor.
Best regards
BerndOctober 31, 2015 at 3:54 am #527824Hey!
Please give us a temporary login details. We would like to check it.
Best regards,
IsmaelOctober 31, 2015 at 8:54 pm #527970Hi Ismael!
Thanks for having a look.
Best regards
BerndNovember 3, 2015 at 7:55 am #529027Hey!
I added this in the text editor:
<span class="do-not-display">http://vimeo.com/109733774</span> This is the excerpt.
You will have to modify the config-templatebuilder > avia-shortcodes > magazine.php file. Look for this code around line 566:
$excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : $entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
.. replace it with:
$excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : $entry->post_content;
Regards,
IsmaelNovember 4, 2015 at 9:08 am #529796Thanks Ismael,
your solution works fine … but the link in the magazine opens the single post.
This post – because of the class “do-not-display” – doesn’t show the video-content.
Regards, BerndNovember 15, 2015 at 2:23 am #535984Hey!
Try adding this code to the Quick CSS:
.single .do-not-display{ display: block !important; }
Cheers!
JosueNovember 16, 2015 at 3:49 pm #536555Hi Josue!
Wow, thanks, a very good solution.
I added your CSS-code and changed the line in the text-editor of the post to
<p style="text-align: center;"><span class="do-not-display">[av_video src='http://vimeo.com/109733774' format='16-9' width='16' height='9' custom_class='']</span> This is the excerpt.</p>
That works fine.
Thanks a lot,
BerndNovember 16, 2015 at 4:36 pm #536608You are welcome, glad we could help :)
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.