0

I have an automatic slideshow with images and youtube videos. If a user clicks play on a video, as the slideshow continues running the next slide is shown hence hiding the video.

Is it possible to know if the video is running, as to stop the slideshow from hiding the video?

Thanks...

arod
  • 13,481
  • 6
  • 31
  • 39

1 Answers1

0

Depending on how much ease you want, you could use Popcorn.js (https://github.com/mozilla/popcorn-js). This will let you load web media and then do things on page (whatever you want, change the page, play or pause a slideshow, trigger some JS, etc) based on what happens in the video, as well as letting you query the video's state by using the popcorn API

Mike 'Pomax' Kamermans
  • 49,297
  • 16
  • 112
  • 153
  • excellent to know... I needed something simpler, though... the comment above is just what I needed :) – arod Mar 01 '13 at 01:33