diff --git a/static/script-tests/tests/devices/mediaplayer/samsung_streaming.js b/static/script-tests/tests/devices/mediaplayer/samsung_streaming.js index ab08f0d5..269196fa 100644 --- a/static/script-tests/tests/devices/mediaplayer/samsung_streaming.js +++ b/static/script-tests/tests/devices/mediaplayer/samsung_streaming.js @@ -265,7 +265,7 @@ assert(playerPlugin.Open.notCalled); assert(playerPlugin._methods.InitPlayer.notCalled); this._mediaPlayer.setSource(MediaPlayer.TYPE.VIDEO, 'testURL', 'application/vnd.apple.mpegurl'); - assert(playerPlugin.Open.calledWith('Player', '1.010', 'Player')); + assert(playerPlugin.Open.calledWith('StreamingPlayer', '1.0', 'StreamingPlayer')); assert(playerPlugin.Open.calledOnce); assert(playerPlugin._methods.InitPlayer.calledWith('testURL|COMPONENT=HLS')); assert(playerPlugin._methods.InitPlayer.calledOnce); @@ -282,7 +282,7 @@ assert(playerPlugin.Open.notCalled); assert(playerPlugin._methods.InitPlayer.notCalled); this._mediaPlayer.setSource(MediaPlayer.TYPE.VIDEO, 'testURL', 'application/vnd.apple.mpegurl'); - assert(playerPlugin.Open.calledWith('Player', '1.010', 'Player')); + assert(playerPlugin.Open.calledWith('StreamingPlayer', '1.0', 'StreamingPlayer')); assert(playerPlugin.Open.calledOnce); assert(playerPlugin._methods.InitPlayer.calledWith('testURL|COMPONENT=HLS')); assert(playerPlugin._methods.InitPlayer.calledOnce); diff --git a/static/script/devices/mediaplayer/samsung_streaming.js b/static/script/devices/mediaplayer/samsung_streaming.js index 4d4b15cc..2cdf109f 100644 --- a/static/script/devices/mediaplayer/samsung_streaming.js +++ b/static/script/devices/mediaplayer/samsung_streaming.js @@ -82,12 +82,11 @@ require.def( this._toStopped(); if (this._isHlsMimeType()) { + this._openStreamingPlayerPlugin(); if (this._isLiveMedia()) { this._source += '|HLSSLIDING|COMPONENT=HLS'; - this._openStreamingPlayerPlugin(); } else { this._source += '|COMPONENT=HLS'; - this._openPlayerPlugin(); } } else { this._openPlayerPlugin();