CSS-Tricks/AnythingSlider

Video playback not stopping slider loop

korndev opened this issue · 4 comments

I've read through several older tickets and can't seem to figure out why this isn't working. I recently inherited a site that was using an old version of AnythingSlider, so I updated to 1.7.15 hoping that would solve the issue, however, it hasn't seemed to.

You can see the implementation here: http://samples.justinkorn.com/lesley (all settings can be viewed in the source code)

No matter what I do, none of the settings seem to pause the slider when any video is played back. Any help, thoughts, ideas, fixes, would be greatly appreciated! If you need further information, please let me know.

[UPDATE] - It actually does seem to work, but not on the first YouTube video on the first pass. If I loop through the slides the YouTube video will then auto start playing on the second pass. Interestingly, the slideshow does stop looping. The Vimeo videos work as expected.

Other than that, this is a GREAT slider plugin and really appreciate all the hard work that has been put into it.

Thanks!

Interesting problem... I've been trying to troubleshoot it and the video just isn't updating the video status when you initially start playing the video. I've been getting some weird errors from Vimeo (reported), which still seems to be working well but maybe the errors are interfering with YouTube. The strangest thing is that everything looks okay and I'm not even having problems with YouTube in the video demo.

I'm going to be pushing a video extension update here in a minute, but it doesn't fix your problem. It fixes a problem with errors popping up when you watch related YouTube videos.

This brings up another now known and not easily solvable issue with YouTube iframe videos... playing related videos breaks the video resume and pausing slideshow because the iframe doesn't get updated with the new video URL and there is no way, that I know, of figuring out which iframe sends an update status - yes, I know there is only one YouTube video on your page, but I would like to make the extension work with multiple videos.

Hey Mottie,

Thanks for looking into this. Glad to know I wasn't doing anything wrong, but wish I had some of my hair back :)

Perhaps it's that particular YouTube video I used or the way WordPress embeds it? I'll try another random video and see if the same thing happens. Let me know if you'd like me to test anything particular.

So I guess this really is the same issue as in #191... I guess it's all on me then!

I haven't had a lot of free time lately nor the patience to figure out this problem (mostly because of script errors I'm getting from Vimeo and YouTube scripts that load inside the iframes), so please give me some time to figure this out. If you agree that this is the same issue as #191 (I'm cross-eyed now from trying to fix it), then please close this issue and follow along with the updates in #191.

Thanks!
Rob

Not sure if it is identical to #191 or not, but seems close enough. I'll close for now. Thanks!