XFileSharing Pro - Playback on Videos

Powerfull XFileSharing version

Moderator: admin

Posts: 23
Joined: Jul 02, 2012 11:09 am

Playback on Videos

#1 Postby ryuchix » Jul 31, 2012 2:07 am

Hi there,

Anyone know how to put playback on xfilesharing videos just like youtube, where you can skip video duration?

I have video mod.

I tried adding (http) parameter on jw player but it doesn't work.

help will be appreciated.

Thank you

Posts: 19
Joined: Jan 06, 2008 9:37 am

#2 Postby nomad » Jul 31, 2012 4:03 am

install ffmpeg on your servers, thats a start.

depending on your config:

nginx: you need to install mp4 module and flash module and also configure nginx to allow video seeking.

http: you need to use Pseudostreaming streaming for jwplayer

Posts: 23
Joined: Jul 02, 2012 11:09 am

#3 Postby ryuchix » Jul 31, 2012 7:00 pm

i have ffmpeg installed and other video codecs. However ngix requires a lot a lot of money.

is there any other way?

Posts: 19
Joined: Jan 06, 2008 9:37 am

#4 Postby nomad » Aug 01, 2012 7:19 am

you should have read my post properly:

"http: you need to use Pseudostreaming streaming for jwplayer"

I mentioned the above solution for users without nginx.

Posts: 1054
Joined: Mar 10, 2009 2:34 am

#5 Postby ankurs » Aug 01, 2012 9:16 am

ryuchix wrote:is there any other way?

try http://h264.code-shop.com/trac/wiki/Mod ... e-Version2

Posts: 521
Joined: Dec 19, 2009 5:12 pm
Location: belguim

#6 Postby PowerChaos » Aug 04, 2012 9:13 pm

You do need indeed the h264 psuedostreaming code

here is a example ( html5 )
http://www.boosterking.com/embed-5i0q95zqkv4s.html ( 4min and 10mb)

also if you think the time is to less or the size to small then use this example

http://www.boosterking.com/embed-e5e9fkwz1z3u.html ( 96 min and 1.3GB )

for html5 you need to figure out on your own
but here is the code for flash if you use flash

Code: Select all

#         my $code="var s1 = new SWFObject('$c->{site_url}/player/player.swf','player','$file->{vid_width}','$file->{vid_height}','9');
#s1.addVariable('plugins', 'like-1,newsticker-1');
#s1.addVariable('newsticker.text', 'Embed Video&#39s and Premium members Can skip parts of the movie');

do not forget to remove the # or it will not execute
also this code can be differend depending on your apache version and your server config settings
in my case i need like it stands here , in your case it can be that some settings are not needed

Greetings From PowerChaos

Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests