XFileSharing Pro - Seeking in jwplayer

Message
Author
200299
Posts: 28
Joined: Feb 17, 2011 5:04 pm

Seeking in jwplayer

#1 Postby 200299 » Mar 01, 2011 2:04 pm

Seeking does not work in jwplayer
Can you tell me how to jump in the movie from 1 minute to 20 and then 10?
I installed a completely new jwplayer
Thanks

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

#2 Postby ankurs » Mar 02, 2011 6:11 am


User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#3 Postby PilgrimX182 » Mar 02, 2011 10:49 am

You will need nginx mod + mp4 seek mod for it. Contact [email protected] for details.

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#4 Postby PowerChaos » Mar 03, 2011 12:53 pm

sorry to say that you are wrong (hate to say that it is indeed possible with apache)

but apache can stream mp4 to (only mp4 , not swf or flv)

see at my code for how to do it ( yes it is jwplayer and apache , check flowplayer posts)

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

for the module


but i need to say , i got a lot of trouble before i got it working
and firefox is still refusing to work

even with nginx (on cpanel as proxy backend) dit it fail for me :'(

i can not provide more detais of how to exactly install it , but i can only say that it works , and be sure to check 1 setting to be able to play as mp4

Code: Select all

         $file->{direct_link} = DownloadGenLink($file,'video.flv');
change it to

Code: Select all

         $file->{direct_link} = DownloadGenLink($file,'video.mp4');
here is a demo

http://www.boosterking.com/4g2ne9kzlt70 ... i.mp4.html

and yes , it is on apache :D

Greets From PowerChaos

*edit*
only premium member can pseudostream as normal users are limited to downlaod speed
here is a test site where you can see the embed example

http://boosterking.com/test.html

Greets From PowerChaos

200299
Posts: 28
Joined: Feb 17, 2011 5:04 pm

#5 Postby 200299 » Mar 04, 2011 9:18 am

Yes it works!!

But how do pseudostreaming for normal users.
This is a problem in the script xfilesharingpro??

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#6 Postby PowerChaos » Mar 04, 2011 2:51 pm

that is not a problem of xfilesharing
but just how pseudostreaming is working

pseudostream works by loading the last bit of the file to know where all the meta tags are ( peaces and keyframes and all other things that says what second the movie is on)

as most files ( flv files to) contains that data on end of the file does the browser download the complete file first before you can search for it

pseudostreaming loads that bit first and then it starts from the beginning to load the other data (starting from the key you like)

problem with the script , it limits download speed so it "streams" your file in chuncks
on that way a user that is limited to download speed can not psuedostream as his last data is missing

a premium does not have that problem , as it loads directly the end of the file before even loading the other stuff (basicly a hotlink instead sending true a download script that takes care of the speed limit)


it is kinda hard to explain
but if you remove the download speed then it will work for every1
it is the way the download speed works that it refuse to work

like he says , you need nginx if you want to have that problem fixed
as nginx got a totaly differend working system then apache (nginx can send in chuncks and the part you need , as it serve static data instead dynamic data like apache )


or to explain it realy easy
it wont work with a download limit as it just can not load the data it needs to have psuedostreaming working

Greets from PowerChaos