Last active
October 9, 2017 14:01
-
-
Save rafaelmaeuer/4542dddea2763baaa41bcf2c01e53a3c to your computer and use it in GitHub Desktop.
video.js: Set Poster Image in - From http://docs.videojs.com/docs/api/player.html#Methodsposter
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
// get | |
var currentPoster = myPlayer.poster(); | |
// set | |
myPlayer.poster('http://example.com/myImage.jpg'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment