Page 1 of 1

DewPlayer module problem

Posted: Thu Oct 08, 2009 8:54 pm
by Kami
Hello,

I'm using CMS Version 1.6.4 and installed DewPlayer version 0.2.1.

Whether I write the Dewplayer tag in the content of a page (note: with the Turn WYSIWYG on or off) or in a template,

the player is displayed in my browser but nothing happens.

A) I checked, the file is located at: uploads/mp3/music.mp3

B) Here is what the source code shows (localhost) :







C) I also looked at Dewplayer module folders and files. I believe the problem probably lies with the file method.install.php (see attachment, I called it method.install.txt, see line 65). Here is the original code and how I tried to change it, no success:

# Setup sample song
$sgid = $db->GenID(cms_db_prefix()."module_dewplayer_seq");
$query = 'INSERT INTO '.cms_db_prefix().'module_dewplayer (player_id, playername, playerurl, folderurl, width, height, bgcolor, level, autostart, autoreplay) VALUES (?,?,?,?,?,?,?,?,?,?)';
# ORIGINAL CODE: $db->Execute($query, array($sgid, "Sample player", "/media/dewplayer-multi_260x20.swf", "uploads/mp3/sample", 260, 20, 'FFFFFF', 100, 0, 0));
$db->Execute($query, array($sgid, "Sample player", "/media/dewplayer-multi_260x20.swf", "/uploads/mp3", 260, 20, 'FFFFFF', 100, 0, 0));


Could you please help me ?

Thanks in advance,

Kami

Re: DewPlayer module problem

Posted: Wed Nov 25, 2009 10:35 pm
by Bigge