error in player code generator

This is forum to report Nuevoplayer 5 possible bugs and issues and to publish Nuevoplayer 5 fixes and updates.

error in player code generator

Postby nomoreturn » Sun Oct 16, 2011 4:13 am

Hello i have a problem in Player code generator . i disable playlist option in nuevo admin cp and its still showing and i put a image url for ( Preview image for the player in "pause" mode ) and its also not working
here is a exmple page ( plz check the last exmple # 4 )

http://pakmotion.com/page.php?page=53
Pakmotion.com
nomoreturn
 
Posts: 39
Joined: Thu Apr 21, 2011 12:01 am
Location: Pakistan

Re: error in player code generator

Postby dargre » Sun Oct 16, 2011 6:00 am

If you doo not want playlist visible - don't use "player with playlist" generator as it automatically orders to show playlist.
There is no option for such player to hide/show playlist only playlist button.

All those videos not playing have invalid playlists or configuration.
It's not so simple to build a playlist, you should know what XML UTf-8 is. Special chars are not allowed, eg. char "&" should be "&". There can be many other special chars like quotes, etc, that's why always best is to output xml usng php. With php it's possible to use some functions that take care about special chars.
Most simple one is:
Code: Select all
htmlspecialchars($string, ENT_QUOTES, 'UTF-8');

where $string is text to that you want to strip of special chars.

Thise built-in playlists delivered with player have all function included, and are working.
If you create own - suggest you to look at those ready and learn how it should be done.

Player configuration is for certain type of player - if you want to modify it even more, just take a look at certain configuration file (for playlist player this is 'cst.php'). Most of options are described and apart of admin ffrontend can be also easily changed manually. For custom needs best is to create own configuration file.
Thank you,
Nuevolab Team
dargre
 
Posts: 331
Joined: Mon Sep 07, 2009 3:47 am


Return to Nuevoplayer 5 Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron