Skip to content

Commit

Permalink
demo page: display version
Browse files Browse the repository at this point in the history
  • Loading branch information
mangui committed Jul 4, 2016
1 parent fb9713d commit 7588a80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<body>
<div class="header-container">
<header class="wrapper clearfix">
<h1 class="title"><a href="https://github.com/dailymotion/hls.js">hls.js</a> demo page</h1>
<h1 class="title"><a target=_blank href="https://github.com/dailymotion/hls.js">hls.js</a> demo page</h1>
</header>
</div>

Expand Down Expand Up @@ -228,6 +228,9 @@ <h4> Stats Display </h4>
$('#enableWorker').prop( "checked", enableWorker );
$('#levelCapping').val(levelCapping);
$('#defaultAudioCodec').val(defaultAudioCodec || "undefined");

$('h1').append(' <a target=_blank href=https://github.com/dailymotion/hls.js/releases/tag/v' + Hls.version + '>v' + Hls.version + '</a>');

});


Expand All @@ -240,6 +243,7 @@ <h4> Stats Display </h4>
defaultAudioCodec = getURLParam('defaultAudioCodec',undefined);
var video = $('#video')[0];
video.volume = 0.05;
$("#currentVersion").html("Hls version:" + Hls.version);

loadStream(decodeURIComponent(getURLParam('src','http://www.streambox.fr/playlists/x36xhzz/x36xhzz.m3u8')));

Expand Down

0 comments on commit 7588a80

Please sign in to comment.