Created
September 22, 2014 13:49
-
-
Save dmlap/c88c5f902ccf1677548c to your computer and use it in GitHub Desktop.
Loading a video into a player.
This file contains 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
// change the video source URL | |
player.src({ | |
src: 'http://example.com/movie.mp4', | |
type: 'video/mp4' | |
}); | |
// Safari requires you to call load after loading a new video source | |
player.load(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment