UrlPlayer icon indicating copy to clipboard operation
UrlPlayer copied to clipboard

This is not a issue but a suggestion to add clickable links to play with your great script

Open onigetoc opened this issue 10 years ago • 0 comments

I add clickable links at the bottom of your script to play with many Videos aud audio format.

`$(function(){ $('.vidlink a').click(function(e){

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);

}); });`

onigetoc avatar Dec 13 '14 19:12 onigetoc