Can I use it in the script?
How do I use?
XFileSharing Pro - Flowplayer
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
search in index_dl.pm for the following text
then add your code like my below code
as soon that is done , then you can see your new player 
Same way apply for other players or custom players
please note , depending on player it can only work for flv files or for flv and mp4 files
but to fully enjoy mp4 files you need to install pseudostreaming
Greetings From PowerChaos
Code: Select all
mp4
Code: Select all
my $code="var s1 = new SWFObject('$c->{site_url}/player/player.swf','player','$file->{vid_width}','$file->{vid_height}','9');
s1.addParam('allowfullscreen','true');
s1.addParam('wmode','opaque');
s1.addParam('allowscriptaccess','always');
s1.addVariable('duration','$file->{vid_length}');
s1.addVariable('file','$file->{direct_link}');
s1.addVariable('image','$file->{video_img_url}');
s1.addVariable('provider','http');
s1.addVariable('http.startparam','start');
s1.addVariable('streamer','$file->{direct_link}');
s1.addVariable('bufferlength','5');
s1.addVariable('skin','http://boosterking.com/player/control/controlpanel.swf');
s1.addVariable('controlbar','over');
s1.addVariable('plugins', 'like-1,newsticker-1');
s1.addVariable('newsticker.text', 'Embed Video's and Premium members Can skip parts of the movie');
s1.write('flvplayer');";
//some text removed for security
$file->{video_code}="<span id='flvplayer'></span>
<script type='text/javascript' src='$c->{site_url}/player/swfobject.js'></script>
$code
<br>";

Same way apply for other players or custom players
please note , depending on player it can only work for flv files or for flv and mp4 files
but to fully enjoy mp4 files you need to install pseudostreaming
Greetings From PowerChaos