You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chris, this is a great article; however, in post-2011 versions of jQuery, the videos do not render properly, consistently. Have you considered updating for 2014, er, 2015? Thanks!
The text was updated successfully, but these errors were encountered:
I fixed this for jQuery 1.11 (and probably later). The jQuery selector was wrong:
var $allVideos = $("iframe[src^='//player.vimeo.com'], iframe[src^='//www.youtube.com'], object, embed"),
This looks for Vimeo and YouTube src parameters that start with "//" and the YouTube/Vimeo domain but if you use an asterisk this captures values that contain the YouTube/Vimeo domain:
Chris, this is a great article; however, in post-2011 versions of jQuery, the videos do not render properly, consistently. Have you considered updating for 2014, er, 2015? Thanks!
The text was updated successfully, but these errors were encountered: