I add clickable links at the bottom of your script to play with many Videos aud audio format.
e.preventDefault();
if (player.session == null) {
return;
}
var url = decodeURIComponent($(this).attr('href'));
var contentType = getContentType(url);
player.loadMedia(url, contentType);
$('#player_now_playing').html(url.split(/[\\/]/).pop());
$('#controls').show();
/*temporaire*/
$('#url').val(url);
I add clickable links at the bottom of your script to play with many Videos aud audio format.
`$(function(){
$('.vidlink a').click(function(e){
});
});`