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