Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ app.loadHttpStream = function() {
var subtitlesUrl = document.getElementById('subtitlesUrlInput').value;
var config = keySystem ?
{'keySystem': keySystem, 'licenseServerUrl': licenseServerUrl} :
{};
{'keySystem': ''};
app.load_(new shaka.player.HttpVideoSource(mediaUrl, subtitlesUrl, config));
};

Expand Down
3 changes: 1 addition & 2 deletions lib/player/http_video_source.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ goog.require('shaka.util.StringUtils');
* Creates an HttpVideoSource.
* @param {string} mediaUrl The media URL.
* @param {string} textUrl The text URL, or empty string if no subtitles.
* @param {shaka.player.DrmInfo.Config} drmInfoConfig A DrmInfo Config object,
* an empty object indicates unencrypted content.
* @param {shaka.player.DrmInfo.Config} drmInfoConfig A DrmInfo Config object.
* @struct
* @constructor
* @implements {shaka.player.IVideoSource}
Expand Down