ساسوكي عضو مميز
مَُشَــارِكــآتــي: : 175 دولــتي : الجـنس : هوايتي : مزاجي :
| Subject: [anime-ne] F - Tl - 156-[HD] Mon 12 Nov 2012, 1:39 pm | |
| [anime-ne] F - Tl - 156-[HD][You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
var pakplayer_path = 'http://add-anime.net/player/pak_player'; var player_logo = 'http://add-anime.net/images/plaery-logo.png'; var hq_video_file = 'http://server23.add-anime.net/api/files/videos/1352577386b9ec6.mp4'; var normal_video_file = 'http://server23.add-anime.net/api/files/videos/1352577386b9ec6.flv'; var ytcode = ''; var pre_item = ""; var next_item = ""; var splash_img = 'http://server23.add-anime.net/api/files/thumbs/1352577386b9ec6-original-1.jpg'; var embed_type = 'iframe';
//Now lets write an HQ video function that swaps the original video with hq var video_quality = 'normal'; function toggleQuality(obj) { if(video_quality=='normal') { video_quality = 'hq'; flowplayer(obj).stop(); flowplayer(obj).setClip({url:hq_video_file}); flowplayer(obj).play(); } else { video_quality = 'normal'; flowplayer(obj).stop(); flowplayer(obj).setClip({url:normal_video_file}); flowplayer(obj).play(); } }
function pakplayer_hq() { toggleQuality('the_Video_Player'); } has_hq_function = true; hq_function = pakplayer_hq;
flowplayer("the_Video_Player", {"src":"http://add-anime.net/player/pak_player/pakplayer.unlimited.swf"}, { key : '179e02ce63a928e2893', plugins: { controls: { background: "url(" pakplayer_path "/bg.png) repeat", url: "pakplayer.controls.swf" } // Take this you shitty IE7 ,lighttpd : { url: pakplayer_path "/pakplayer.pseudo.swf"} }, canvas: { backgroundColor: '#000000', // For some reason we have to define this :| backgroundGradient : 'none', background : '#000000 url(' splash_img ') no-repeat 50pct 50pct' },
clip: { linkUrl : "#", provider: 'lighttpd', scaling : 'fit', autoPlay : false, onStart : function() { // Removing background image this.getPlugin("canvas").css({ "background" : "#000000"}) }, onLastSecond: function() { if(next_item) { if($.cookie('auto_play_playlist')) window.location = next_item; } } }, playlists : [ { url : normal_video_file } ], logo: { url: player_logo, fullscreenOnly: false, top:5,right:5 } });
function htmlDecode(value){ return $('').html(value).text(); } function updateEmbedCode(width,height,autoplay) { if(autoplay=='yes') autoPlayVid = 'yes'; else autoPlayVid = 'no'; embedPlayerWidth = width; embedPlayerHeight = height; autoPlayEmbed = autoplay; var embedCode = $('#embed_code').val(); $('#embed_code').val( $('#embed_code').val().replace(/height="([0-9] )"/g,'height="' height '"') ); $('#embed_code').val( $('#embed_code').val().replace(/width="([0-9] )"/g,'width="' width '"') ); $('#embed_code').val( $('#embed_code').val().replace(/height=([0-9] )/g,'height=' height '') ); $('#embed_code').val( $('#embed_code').val().replace(/width=([0-9] )/g,'width=' width '') ); $('#embed_code').val( $('#embed_code').val().replace(/autoplay\=(yes|no)/g,'autoplay=' autoPlayVid) ); $('#embed_code').val( $('#embed_code').val().replace(/autoplay\=(yes|no)/g,'autoplay=' autoPlayVid) ); }
[You must be registered and logged in to see this link.] | |
|
ساسوكي عضو مميز
مَُشَــارِكــآتــي: : 175 دولــتي : الجـنس : هوايتي : مزاجي :
| Subject: Re: [anime-ne] F - Tl - 156-[HD] Mon 12 Nov 2012, 1:40 pm | |
| | |
|
MR.inpoldawn مـرآقب
الْـــعُـــــمْـــــــــر : 36 مَُشَــارِكــآتــي: : 461 دولــتي : الجـنس : هوايتي : مزاجي :
| Subject: Re: [anime-ne] F - Tl - 156-[HD] Mon 12 Nov 2012, 1:45 pm | |
| | |
|