dash-shaka-playback
Advanced tools
Comparing version 1.0.16 to 1.0.17
16
index.js
@@ -88,8 +88,12 @@ import {HTML5Video, Log, Events} from 'clappr' | ||
this._player.destroy(). | ||
then(() => this._destroy()). | ||
catch(() => { | ||
this._destroy() | ||
Log.error('shaka could not be destroyed') | ||
}) | ||
if (this._player) { | ||
this._destroy() | ||
} else { | ||
this._player.destroy(). | ||
then(() => this._destroy()). | ||
catch(() => { | ||
this._destroy() | ||
Log.error('shaka could not be destroyed') | ||
}) | ||
} | ||
} | ||
@@ -96,0 +100,0 @@ |
{ | ||
"name": "dash-shaka-playback", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "clappr dash playback based on shaka player", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
278502
537