webif/var/mongoose/html/play/play.js
hummypkg 3d3f7d17ed update VLC player
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1092 2a923420-c742-0410-a762-8d5b09965624
2012-07-16 20:29:59 +00:00

16 lines
244 B
JavaScript

$(document).ready(function() {
var url = $('#url').text();
var duration = $('#duration').text();
var vlc = VLCobject.embedPlayer('vlc', 800, 450, true);
vlc.play(encodeURI(url));
if (window.console)
console.log("Playing: %o", url);
});