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 2016-01-12 16:06:23

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Nuevo Player for Mobile

How can i use Nuevoplayer as my mobile player?

Offline

#2 2016-01-13 07:34:13

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

Re: Nuevo Player for Mobile

copy the code from templates/defboot/video_view_nuevoplayer.tpl.php to mobile/templates/default/video_view_nuevoplayer.tpl.php, now copy modules/video/components/nuevo.php to mobile/components/nuevo.php and add a require 'nuevo.php'; line to mobile/components/video_view.php. Now you need a nuevo config for mobile, copy misc/nuevo/config.php to misc/nuevo/config_mobile.php and make sure to change it to use the mobile file, not the mp4 file. In video_view_nuevoplayer.tpl.php you can use now config_mobile.php...Hope this helps.


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

Offline

#3 2016-01-13 12:55:00

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: Nuevo Player for Mobile

I guess main reason for user to have Nuevo for mobile is initial aspect ratio (fit to screen).
So he needs also to change manually "stretching" option in new "config_mobile.php".
Hardcoded value for fit to screen is "fit".

print "<stretching>fit</stretching>\n";

Offline

Board footer

Powered by FluxBB