plyr icon indicating copy to clipboard operation
plyr copied to clipboard

Custom poster for providers (YouTube and Vimeo)

Open friday opened this issue 6 years ago • 3 comments

Current behaviour(s):

  • HTML5 video can use custom posters via the poster property.
  • YouTube and Vimeo uses their own posters
  • Setting the poster with player.poster = ... works for any video format (HTML5, YouTube or Vimeo), but it can't be done directly after creating the instance due to the internal handling being async (it has to verify the url works to prevent a black element). Setting it too soon leads to a race condition. Ex: http://jsfiddle.net/fgegfjp7/1/

Suggested improvements

  • [x] It should be possible to set the poster directly after creating the instance without worrying about any race conditions.
  • [ ] It should be possible to set the poster in youtube and vimeo via a property in the options or on the element.

friday avatar Jun 08 '18 20:06 friday

What's the status of this issue? Are you working on this? what needs to be done to close it?

wvffle avatar Dec 23 '19 19:12 wvffle

Also curious about this one. I've been using the ready event which seems to be working, but a parameter would definitely be useful.

joshangehr avatar May 11 '20 17:05 joshangehr

Well it's been 4 years now, what's the status ^_^

sitoexpress avatar Jun 22 '22 10:06 sitoexpress