No auto-play & no JavaScript API from YouTube
-
Having updated to the latest version I can’t manage to get it to play automatically using “Replace featured image with video on click and auto play if possible” anymore.
It also appears that something in the plugin’s general.php, which used to add some JavaScript to listen for YouTube player events and show/hide parent elements on pause/play, is no longer present.
I’ve recently taken over the development of my site from someone else, so I don’t know if the old version had been modified in someway, but do you have any thoughts on why the behavior of the plugin has changed?
Here’s my dev site with the featured video on a slider:
http://www.tolkiensociety.org/wordpress/Essentially, when the video is playing I want the post name and categories to be hidden and for them to reappear when the video ends or is paused. I want the slider nav elements to remain in place regardless. It used to do this with the old version of the plugin in Chrome (it partially worked in Firefox and not at all in IE).
- The topic ‘No auto-play & no JavaScript API from YouTube’ is closed to new replies.