Skip to content

Commit

Permalink
fix: Set correct techName after call to reset() (#5453)
Browse files Browse the repository at this point in the history
Prevent video.js from throwing errors when reloading the tech a after using reset().
This was already fixed for version 7 here: #5415

Fixes #5411 for 6.x
  • Loading branch information
jankrueger authored and gkatsev committed Sep 28, 2018
1 parent 7fc09de commit baf64be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/player.js
Expand Up @@ -962,7 +962,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,
Expand Down

0 comments on commit baf64be

Please sign in to comment.