Skip to content

Commit

Permalink
Adds URL parameters to test player to select arbitrary manifests via …
Browse files Browse the repository at this point in the history
…URL.

Closes #56.
Change-Id: Icf81f7c69c4e61bc8e424067bc7f691c5dc80223
  • Loading branch information
gunsch-google authored and joeyparrish committed May 22, 2015
1 parent 7c3cbfe commit d0192a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ app.init = function() {

playerControls.init(app.video_);

if ('asset' in params) {
document.getElementById('manifestUrlInput').value = params['asset'];
app.onMpdCustom();
}

if ('dash' in params) {
document.getElementById('streamTypeList').value = 'dash';
app.loadStream();
Expand Down

0 comments on commit d0192a1

Please sign in to comment.