mirror of
https://github.com/videojs/video.js.git
synced 2025-04-11 11:42:08 +02:00
Send the video.js language to the tech
I want to set the YouTube player (or any other iframe tech) in the same language than video.js. To do so, it needs to know the language option. closes #2342
This commit is contained in:
parent
152e1ad808
commit
d11add5dc2
@ -76,6 +76,7 @@ CHANGELOG
|
||||
* @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))
|
||||
* @eXon made sure the volume persists between tech changes ([view](https://github.com/videojs/video.js/pull/2340))
|
||||
* @eXon added the language to the options the tech receives ([view](https://github.com/videojs/video.js/pull/2338))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -503,7 +503,8 @@ class Player extends Component {
|
||||
'preload': this.options_.preload,
|
||||
'loop': this.options_.loop,
|
||||
'muted': this.options_.muted,
|
||||
'poster': this.poster()
|
||||
'poster': this.poster(),
|
||||
'language': this.language()
|
||||
}, this.options_[techName.toLowerCase()]);
|
||||
|
||||
if (this.tag) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user