Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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, Bernd

    #522726

    Hey profil77,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Thanks,
    Rikard

    #522814

    Hi Rikard!
    Thanks …

    #523495

    Hi!

    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!
    Ismael

    #525443

    Hi 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,
    Bernd

    #526541

    Hey!

    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!
    Ismael

    #526602

    Hi 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
    Bernd

    #527824

    Hey!

    Please give us a temporary login details. We would like to check it.

    Best regards,
    Ismael

    #527970

    Hi Ismael!
    Thanks for having a look.
    Best regards
    Bernd

    #529027

    Hey!

    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,
    Ismael

    #529796

    Thanks 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, Bernd

    #535984

    Hey!

    Try adding this code to the Quick CSS:

    .single .do-not-display{
    display: block !important;
    }

    Cheers! 
    Josue

    #536555

    Hi 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,
    Bernd

    #536608

    You are welcome, glad we could help :)

    Regards,
    Josue

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.