Skip to content

Commit

Permalink
@eXon added the poster to the options the tech receives. closes #2338
Browse files Browse the repository at this point in the history
  • Loading branch information
eXon authored and heff committed Jul 24, 2015
1 parent e0b1008 commit dd0752e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))

--------------------

Expand Down
3 changes: 2 additions & 1 deletion src/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dd0752e

Please sign in to comment.