Tagged: x
-
AuthorPosts
-
September 27, 2016 at 7:04 pm #1193106
bridgetParticipantHello,
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,
BridgetSeptember 27, 2016 at 7:05 pm #1193110
bridgetParticipantThis reply has been marked as private.September 28, 2016 at 2:42 am #1193525
LelyModeratorHello 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?September 28, 2016 at 1:38 pm #1194399
bridgetParticipantHi,
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
September 28, 2016 at 6:38 pm #1194791
RadModeratorHi 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!
September 28, 2016 at 8:37 pm #1194972
bridgetParticipantAmazing. Works a treat – thank you.
September 28, 2016 at 9:24 pm #1195050
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1193106 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
