DewPlayer module problem

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Kami
Forum Members
Forum Members
Posts: 23
Joined: Tue Apr 07, 2009 11:37 am

DewPlayer module problem

Post 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
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

Bigge

Re: DewPlayer module problem

Post by Bigge »

Last edited by Bigge on Thu Nov 26, 2009 8:04 pm, edited 1 time in total.
Post Reply

Return to “Modules/Add-Ons”