Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-12-02 09:43:24

Eri
Member
Registered: 2011-03-18
Posts: 977

mobile with mp4

I have a lot of mp4 videos on my site and i would like to have those video at mobile site. Also they have better quality than mobile videos.
at
public_html/mobile/browser.php
public_html/mobile/search.php
public_html/mobile/categories.php

i have added
WHERE ext = 'mp4'

And everything is ok, the problem now is when i play the video. The script search for a mobile video url and not for the main video url
.
How to change this?


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#2 2013-12-02 11:43:27

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: mobile with mp4

Edit mobile/components/view.php and replace:

$video['mobile_url'] = VHelper_video_stream::url_mobile(TRUE, $video_id, $video['server']);

with:

$video['mobile_url'] = VHelper_video_stream::url(TRUE, $video_id, $video['server']);

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-12-02 12:54:13

ivatigoal
Member
Registered: 2013-06-07
Posts: 367
Website

Re: mobile with mp4

so with that option we do not need to convert the mp4 to mobile videos??? they will be played automatically from main file?


Analtube4u

Offline

#4 2013-12-02 13:10:24

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: mobile with mp4

My recommandation is to use the mobile mp4 file, however if you want to target only new phones/tablets, the mp4 hd file will also work.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2013-12-02 13:12:40

ivatigoal
Member
Registered: 2013-06-07
Posts: 367
Website

Re: mobile with mp4

symtab wrote:

Edit mobile/components/view.php and replace:

$video['mobile_url'] = VHelper_video_stream::url_mobile(TRUE, $video_id, $video['server']);

with:

$video['mobile_url'] = VHelper_video_stream::url(TRUE, $video_id, $video['server']);

I changed that but it now says it cannot find the file


Analtube4u

Offline

#6 2013-12-02 16:29:00

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: mobile with mp4

Does the video have a mp4 file?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#7 2013-12-02 16:55:35

ivatigoal
Member
Registered: 2013-06-07
Posts: 367
Website

Re: mobile with mp4

I only have mp4 files. So yes all my files are mp4. I haven't done the steps eri says cause  don't think they matter in my case.


Analtube4u

Offline

#8 2013-12-02 17:45:21

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: mobile with mp4

Erm...sorry, i made a mistake. It should be:

VHelper_video_stream::url(TRUE, $video_id, 'mp4', $video['server']);

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#9 2013-12-02 17:55:58

ivatigoal
Member
Registered: 2013-06-07
Posts: 367
Website

Re: mobile with mp4

Do i also have to do the coding eri said?


Analtube4u

Offline

#10 2013-12-02 18:33:48

ivatigoal
Member
Registered: 2013-06-07
Posts: 367
Website

Re: mobile with mp4

It worked great disk space save....thanks


Analtube4u

Offline

Board footer

Powered by FluxBB