XFileSharing Pro - FLV Player skin
FLV Player skin
Does anybody know how to change skin in flv player?
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
first search this code in index_dl.pm
then add this code to it , be sure to keep everything on it like it is as it is the player generating code of jwplayer
here you can get the skins you need
http://www.longtailvideo.com/addons/skins
then you see below this code , the red text is what i added to show a skin (should work , else use the swf file instead zip)
but if i am not wrong , it should work
please note , i use version 1.8
hopely this helped you
Greetings From PowerChaos
it is around line 558find this line of text wrote: elsif($file->{vid_codec}=~/(flv|h264)/i || $file->{file_name}=~/\.(flv|mp4)$/i)
then add this code to it , be sure to keep everything on it like it is as it is the player generating code of jwplayer
here you can get the skins you need
http://www.longtailvideo.com/addons/skins
then you see below this code , the red text is what i added to show a skin (should work , else use the swf file instead zip)
i can not test it as i do not have the video modedited swf player code wrote: 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('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addVariable('duration','$file->{vid_length}');
s1.addVariable('file','$file->{direct_link}');
s1.addVariable('image','$file->{video_img_url}');
s1.addVariable('provider','video');
s1.addVariable('skin', 'path/to/your/skin.zip');
s1.write('flvplayer');";
$code = &encodeJS($code);
but if i am not wrong , it should work
please note , i use version 1.8
hopely this helped you
Greetings From PowerChaos
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
this is how it looks after editing the above line
http://www.boosterking.com/r4c086hekf7q ... v.mp4.html
so it does works
here is my code in case of intrests
http://www.boosterking.com/r4c086hekf7q ... v.mp4.html
so it does works

here is my code in case of intrests
Greets From PowerChaosflashplayer settings wrote: s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addVariable('duration','$file->{vid_length}');
s1.addVariable('file','$file->{direct_link}');
s1.addVariable('image','$file->{video_img_url}');
s1.addVariable('provider','video');
s1.addVariable('skin','http://demonpower.com/player/alien/alien.xml');
s1.addVariable('controlbar','over');
s1.write('flvplayer');";
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
there is basicly not any change ( there is 1 line extra in my example and skin is to xml file as zip file will not work)
but it is to show how it need to be done with a example this time
the lines in red are the things to add
on that way you can add plugins and a lot of differend stuff to ( complete customize it)
but as it never got a response and because i wrote this before
and it was basicly to confirm a old question that it is possible
Greets From PowerChaos
but it is to show how it need to be done with a example this time
the lines in red are the things to add
on that way you can add plugins and a lot of differend stuff to ( complete customize it)
but as it never got a response and because i wrote this before
dit i wanted to post it again but with a example to show that it realy worksi can not test it as i do not have the video mod
but if i am not wrong , it should work
please note , i use version 1.8

and it was basicly to confirm a old question that it is possible
Greets From PowerChaos
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
it goes about the player on the download site , not the pre download site ( to select free or premium )
do you not see that alien on it ??
normal is it just a bare player with a bar below it
but in my case it got a skin around it and the player bar is floating a little bit above the movie ( basicly hovering over the movie )
but thats only when you click on free download ... as that page you now see is the pre download page and i can not skip that part for just 1 link
Greets From PowerChaos
do you not see that alien on it ??
normal is it just a bare player with a bar below it
but in my case it got a skin around it and the player bar is floating a little bit above the movie ( basicly hovering over the movie )
but thats only when you click on free download ... as that page you now see is the pre download page and i can not skip that part for just 1 link
Greets From PowerChaos
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
please go to your template folder ( cgi/templates)adiga wrote:how i can change mp3 player skin also?
and just replace the mp3/player.swf with your flash player you like to usedownload1.html wrote:Code: Select all
<TMPL_IF song_url> <TMPL_IF mp3_artist><tr><td align=right><b>Song Artist:</b></td><td><TMPL_VAR mp3_artist></td></tr></TMPL_IF> <TMPL_IF mp3_title><tr><td align=right><b>Song Title:</b></td><td><TMPL_VAR mp3_title></td></tr></TMPL_IF> <TMPL_IF mp3_album><tr><td align=right><b>Song Album:</b></td><td><TMPL_VAR mp3_album> <TMPL_IF mp3_year>(<TMPL_VAR mp3_year>)</TMPL_IF></td></tr></TMPL_IF> <tr><td align=center colspan=2> <script language='JavaScript' src='<TMPL_VAR site_url>/mp3/audio-player.js'></script> <object type='application/x-shockwave-flash' data='<TMPL_VAR site_url>/mp3/player.swf' id='mpl' height='20' width='420'> <param name='movie' value='<TMPL_VAR site_url>/mp3/player.swf'> <param name='FlashVars' value='playerID=mpl&soundFile=<TMPL_VAR song_url>'> <param name='quality' value='high'> <param name='menu' value='false'> <param name='wmode' value='transparent'> <TMPL_IF mp3_mod_autoplay><param name='autostart' value='true'></TMPL_IF> </object> </td></tr> </TMPL_IF>
do not forget to change embed_mp3.html to , else it will only show on your site
here is a example
Toy Box - The Sailor Song.mp3 - 5.6 MB
enjoy
Greetings From PowerChaos