Tag: youtube

Pause (or play) embedded YouTube video’s with Javascript

First, make sure the embedded video has the following parameter set to 1, like so: //www.youtube.com/embed/gzDS-Kfd5XQ?enablejsapi=1 Or if it’s not the first parameter, replace the question mark with an ampersand, like so //www.youtube.com/embed/gzDS-Kfd5XQ?rel=0&enablejsapi=1   Now, when you blend in the video with some fancy effect (div sliding upwards, fading or bounce) and want it to stop it Read More

Back to Top