Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Stop playing video when its in hidden

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40666
    shaifshahin
    Participant

    I added three video on my site, they are showing 1 by 1 using jcarousel, but problem is when i click video to play & then move to another video using arroow button, the videos still play, I want to stop when its hidden. here my site http://new.pbcxfactorfitness.com/

    #113623
    JoniGiuro
    Participant
    #113624
    JoniGiuro
    Participant

    Another solution would be to download the videos and put them on your site using the html5 video player. That way you could just use video.pause() – but it would run on modern browsers only.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.