Play : a new module to play video and audio files

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
drwatson
New Member
New Member
Posts: 6
Joined: Mon Nov 15, 2010 11:13 pm

Re: Play : a new module to play video and audio files

Post by drwatson »

seensite wrote: Hello,

Using Play 1.0.3 with cmsms 181, in admin pannel "Players" tab I tried to copy "Neolao FLV Player" to create another player. This message was shown :

Fatal error: Cannot redeclare _play_getdefaultplayers() (previously declared in /home/httpd/vhosts/httpdocs/modules/Play/methods.defaultplayers.php:5) in /home/httpd/vhosts/httpdocs/modules/Play/methods.defaultplayers.php on line 10

Line 1 to 10 of methods.defaultplayers.php:
<?php

if (!class_exists('Play')) return;

function _play_getdefaultplayers($summary=true) {
$players = array();
$players[] = _play_getdefaultplayer_1($summary);
$players[] = _play_getdefaultplayer_2($summary);
return $players;
}
Do you know what's going wrong ?
Same problem here. I can't create, edit or copy a player. Currently using v1.8.2.


edit: Just found a solution here: http://dev.cmsmadesimple.org/bug/view/4314
Manually adding the MySQL code did the trick.

edit2: Hmm, it isn't working. I get the error "--Add Me - module:Play string:error_fileexists--". It's also not possible to give permission to a group. Only the admin account can upload video's.
Last edited by drwatson on Wed Nov 17, 2010 7:05 pm, edited 1 time in total.
Post Reply

Return to “Modules/Add-Ons”