Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1193106
    bridget
    Participant

    Hello,

    I have an Essential Grid using a vimeo stream as a source, that plays the videos into an ajax window above.
    I’d like to add the video title and description/contents when you click on each video below the video.
    These are both able to be pulled from the vimeo API into the existing overlays on the essential grid – i’m just not sure of the right way to add them to the ajax container. I’d prefer not to add the info into fields or other areas as its already existing on the vimeo site.
    You can see i’ve added dummy-content onto my page in a div “portfolio_credits”.

    I’ve watched the videos on opening post content into lightboxes, but this is a little different.

    My page: http://c37.cf3.mwp.accessdomain.com/essgrid-vimeo-shortcode/

    Thanks,
    Bridget

    #1193110
    bridget
    Participant
    This reply has been marked as private.
    #1193525
    Lely
    Moderator

    Hello Bridget,

    I am little confuse because when I check on frontend, it is Essential Grid. But then when I check in Cornerstone it is the Grid. See this: http://screencast-o-matic.com/watch/cDQuipjZf4
    Which essential grid it is?

    #1194399
    bridget
    Participant

    Hi,
    Not sure what went wrong there, but it’s Test Editor Page 20160927, using Essential Grid “EssGrid_RSS1_VimeoShortcode”.
    I’ve disabled “The Grid” plugin, so whatever issue that was shouldn’t happen again.

    Thanks

    #1194791
    Rad
    Moderator

    Hi there,

    Please add this code to Admin > Appearance > Customizer > Custom > Javascript.

    jQuery( function($) {
    
    $('.eg-ajax-play-link-element-25').on('click', function() {
    
    $('.portfolio_credits').html( $(this).parent().parent().parent().find('.eg-ajax-play-link-element-34').html() );
    
    } );
    
    } );

    That should copy your grid item’s information to your main credits element.

    Cheers!

    #1194972
    bridget
    Participant

    Amazing. Works a treat – thank you.

    #1195050
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1193106 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>