Last active
November 28, 2016 05:00
-
-
Save danieliser/c8e5a2fddfff37c40f0b to your computer and use it in GitHub Desktop.
Auto Play HTML5 video on popup open.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery('#pum-123') | |
| .on('pumBeforeOpen', function () { | |
| var $video = jQuery('video', jQuery(this)); | |
| $video[0].play(); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment