The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Stop playing video when its in hidden

  • # November 7, 2012 at 1:42 pm

    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

    # November 8, 2012 at 4:00 am

    have you read this?

    # November 8, 2012 at 4:02 am

    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)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed