1
0
mirror of https://github.com/videojs/video.js.git synced 2025-02-04 11:43:27 +02:00

@eXon added the poster to the options the tech receives. closes #2338

This commit is contained in:
Benoit Tremblay 2015-07-24 09:33:13 -07:00 committed by heff
parent e0b1008225
commit dd0752e6b0
2 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,7 @@ CHANGELOG
* @dmlap fire seeking in the flash tech, not the SWF ([view](https://github.com/videojs/video.js/pull/2372))
* @dmlap expose the xhr helper utility ([view](https://github.com/videojs/video.js/pull/2321))
* @misteroneill fixed internal extends usage and added a deprecation warning ([view](https://github.com/videojs/video.js/pull/2390))
* @eXon added the poster to the options the tech receives ([view](https://github.com/videojs/video.js/pull/2338))
--------------------

View File

@ -502,7 +502,8 @@ class Player extends Component {
'autoplay': this.options_.autoplay,
'preload': this.options_.preload,
'loop': this.options_.loop,
'muted': this.options_.muted
'muted': this.options_.muted,
'poster': this.poster()
}, this.options_[techName.toLowerCase()]);
if (this.tag) {