mirror of
https://github.com/videojs/video.js.git
synced 2024-12-02 09:11:54 +02:00
fix: use consistent id for tech, no matter how it is loaded (#5415)
Change the constant used in the techId prop to the camelCased version, this will result on consistent id when loadTech_() is executed. Fixes #5411
This commit is contained in:
parent
2e83888f0f
commit
6d6bfd1420
@ -945,7 +945,7 @@ class Player extends Component {
|
||||
autoplay,
|
||||
'nativeControlsForTouch': this.options_.nativeControlsForTouch,
|
||||
'playerId': this.id(),
|
||||
'techId': `${this.id()}_${titleTechName}_api`,
|
||||
'techId': `${this.id()}_${camelTechName}_api`,
|
||||
'playsinline': this.options_.playsinline,
|
||||
'preload': this.options_.preload,
|
||||
'loop': this.options_.loop,
|
||||
|
Loading…
Reference in New Issue
Block a user