Skip to content

Instantly share code, notes, and snippets.

@rafaelmaeuer
Last active October 9, 2017 14:01
Show Gist options
  • Save rafaelmaeuer/4542dddea2763baaa41bcf2c01e53a3c to your computer and use it in GitHub Desktop.
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
// 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