[Resolved] No Poster Frame on YouTube videos playing and closing the video
I love your plugin.. it’s lightweight and works better than all the other lightbox plugins out there, especially on mobile devices.
I’ve noticed one issue, YouTube videos don’t pull the poster frame, so when you add the necessary items to the YouTube link it pops up with a dark black screen with only a play button showing. Now I manually added
To the URL and it works better, but it’s hard to remember the whole structure of the poster frame, especially when you can code that into the plugin. Could you do that where it will automatically pull the poster farm based on the VideoID since you already put it in with the other youtube=”ID”
Also… when the person clicks on the YouTube link, it pops up the video, then you have to click the Play button, then it loads the YouTube video and you then have to press the Play button again, that is clunky.. can you make it default to automatically play the video once you hit play the first time? (I think you have the option buried somewhere in the plugin code?)
I found the variable in youTubeClickToPlay on line 44 of blueimp-gallery-youtube.js and turned it to false from true and the auto play starts automatically, so that’s good! Perhaps you can make it an option on the front end?
// Require a click on the native YouTube player for the initial playback: youTubeClickToPlay: false
And finally, it’s hard to close the video once you stop as there is no place for the person to click to close it… they have to click around, hoping that the Red Close Box pops up, which is hard to make happen.
You can see it in action here on the first link in the post: http://underground.net/the-big-lie-about-money/
I will tinker around with the code to see if I can make it auto add the poster frame.
One final thing, could you add the instruction to perhaps the settings page so that they will be readily available to users? Right now, if you have the plugin installed and activated, there is no way to get to the instructions, without either deactivating the plugin then clicking on details, or clicking Add New Plugin and do a search of blue imp then clicking Details there. There is no other way to get to the link once installed and activated.
- The topic ‘[Resolved] No Poster Frame on YouTube videos playing and closing the video’ is closed to new replies.