• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] smooth playing video - mp4

Started by zmarsapl,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zmarsaplTopic starter

Hello

  I have two tests website wpizde.pl (3.4 beta) and jebaj.pl (3.3).
On the first I have a problem with smooth playing video but only mp4. Movie hangs while playing.
On the second webpage when I try to play mp4 video I have message "error loading media, file not be played", but this message appear only for some movies.
e.g
http://www.jebaj.pl/video/25/sweet-bathtime-bangings/          - bug
http://www.jebaj.pl/video/26/compilation-of-british-anal-sex-clips-/            - OK

Can you help me in this problem?
  •  

PHPVibe A.

jebaj.pl, does it have curl? it seems like the access token is not updated, try clearing cache via Tools -> Clean cache

I see you pull on both from redtube, so the speed of the video does not depend on phpvibe or your hosting, some videos work better, some worse, it's the way things go at redtube, also depending on their server's load.
And also know some videos are removed pretty fast from redtube.

Also this forum was not meant for XClub plugin, but for PHPVibeX, a future video script built on top of PHPVibe, but 100% dedicated to adult videos.

zmarsaplTopic starter

  •  

zmarsaplTopic starter

Still doesn't work playing video mp4 from redtube on my 2 website.

I saw that problem is in URL to mp4 when URL starts at :
http://vid.lsw.redtubefiles.com ....     - video starts well , but when video starts on
http://videos.mp4.redtubefiles.com .... - video is forbidden, I tryed clear cache but this didin't help me.
  •  

nfk

I had the exact same problem on 3.4 .. u also can;t see the control bar ... i fixed mine like :

edit the file in tpl/main/css/vibe.style.css

and at the end of the file add
.jwmain .jwvideo{z-index:10;}
.jwmain .jwcontrols{z-index:11;}

save file upload back to server clear cache and should work:D
  •  

PHPVibe A.

He has a problem with the access token for videos.
Look under Tools - > Options api if you have an "redtube_key"  field and if it looks something like:

enaSseHIwj6O/Zpf3GPStcqpF6Ff2hjP8jRx/3GgYA8NY5k0ysqUuBQSlxRMJ4/p


PHPVibe A.

Quote from: zmarsapl on
Still doesn't work playing video mp4 from redtube on my 2 website.

I saw that problem is in URL to mp4 when URL starts at :
http://vid.lsw.redtubefiles.com ....     - video starts well , but when video starts on
http://videos.mp4.redtubefiles.com .... - video is forbidden, I tryed clear cache but this didin't help me.

The mp4 link is preg_match-ed from the redtube page itself (page grabbed and link extracted), I am not sure what they are changing there, some are like first, some like second structure, I've noticed to that video.mp4... go offline faster than the others, but I am sure they would not answer questions about this, since it's kinda stealing their bandwidth our plugins :)

zmarsaplTopic starter

Hmm

So what should I do to video works properly? Can you change this string "http://videos.mp4.redtubefiles.com" for this "http://vid.lsw.redtubefiles.com" in the code?

I saw that each mp4 link works great with "http://vid.lsw.redtubefiles.com ....."

Or please tell me which file I should change myselfes, to set a fixed address to redtube mp4 file.

This is my settings in tools --> options api
jwkey :    enaSseHIwj6O/Zpf3GPStcqpF6Ff2hjP8jRx/3GgYA8NY5k0ysqUuBQSlxRMJ4/p
and redtube_key:
47aac1f74dca44b0626f9a59cf21d75c36ded6c802cd8ffbcd1a6c12b249a3ff691aa4745789f9a362cce56012e6e67f844125902a57b9b1c15e30f5d4bde12eba3baf03bc4d35a1cb32d6e8e661ae95897c8bb73d017588774305d0a68c4782a86a65f00b62952c05a0a85f9f0c8c6cd97f0aaecd9bb6ab0f076d28ff835305b343129a728483e5b05cc5c313b75e051989c65379ab6b77b8b598dd5b9913b0761dc4470aa6288e

  •  

zmarsaplTopic starter

Could you help me Alexander in this matter?
  •  

PHPVibe A.

Did you try and the videos work if you change the subdomains? I know they don't work for me if I interchange them

zmarsaplTopic starter

Change subdomains? Little I don't understand, I try for two domains jebaj.pl and wpizde.pl and still not working.
  •  

PHPVibe A.

http://vid.lsw.redtubefiles.com
http://videos.mp4.redtubefiles.com

are subdomains.


PHPVibe A.

Ok, then is simple:

Open lib/class.providers.php find the function get_mp4

public static function get_mp4($url) {
and where it returns the value:

return $pieces[0];



replace with


return str_replace("videos.mp4.","vid.lsw.",$pieces[0]);

zmarsaplTopic starter

Thanks, it works, but I still have a problem with smooth video playing on 3.4 beta (mp4 files), The same video on version 3.3 works great. On 3.4 videos hangs while playing.

Could you help me in this matter?
  •  


PHPVibe A.

I see both of them are linked from Redtube so the load time does not depend on PHPVibe/your server.
They load the same for me, I can't spot any difference between the 2 links on load or playing time.

zmarsaplTopic starter

Yes it's true. Problem is only on my chrome browser, on Firefox and Opera works fine.

Thanks for help :)
  •  

PHPVibe A.

Anytime! Latest version of Chrome has severe cache issues.

Similar topics (7)