1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00

@tbasse fixed techCall null check against tech. closes #2676

This commit is contained in:
Thorsten Basse 2016-07-18 15:26:17 -04:00 committed by Gary Katsevman
parent ec42a1cfd7
commit 20b53206a5
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ CHANGELOG
* @ldayananda fixed mouse handling on menus by using mouseleave over mouseout ([view](https://github.com/videojs/video.js/pull/3404))
* @mister-ben updated language to inherit correctly and respect the attribute on the player ([view](https://github.com/videojs/video.js/pull/3426))
* @sashyro fixed nativeControlsForTouch option ([view](https://github.com/videojs/video.js/pull/3410))
* @tbasse fixed techCall null check against tech ([view](https://github.com/videojs/video.js/pull/2676))
--------------------

View File

@ -1266,7 +1266,7 @@ class Player extends Component {
// Otherwise call method now
} else {
try {
this.tech_[method](arg);
this.tech_ && this.tech_[method](arg);
} catch(e) {
log(e);
throw e;