Elxis CMS Forum

Extensions => Bots and plugins => Topic started by: xmanhattan on January 03, 2009, 19:11:48

Title: mp3 player in star gallery question
Post by: xmanhattan on January 03, 2009, 19:11:48
Hello all,

I have created a new category item in star gallery placed the following code after the text.
Code: [Select]
{mp3}http://linux.cxm/images/sound/madrilenita.mp3{/mp3}

When I check to see what happens, it just shows the code rather than the player buttons.
I did the same on the front page and that works so it is not the mp3 file or location or bot. 

Additional info:
Using the tinymce embedded media, it starts to play the music as soon as the main page of the star gallery categories are shown but this is a problem if someone wants to place a different tune for different categories.
The reason is that activex that the embedded media of tinymce does not wait until the activex control is clicked.
I also tried the change from windows media to quicktime but this does the same thing.

Code: [Select]
<object classid="clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b" width="100" height="100" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0">
<param name="src" value="http://linux.cxm/images/sound/madrilenita.mp3" /><embed type="video/quicktime" width="100" height="100" src="http://linux.cxm/images/sound/madrilenita.mp3"></embed>
</object>

Does anyone have a work-around?
Title: Re: mp3 player in star gallery question
Post by: xmanhattan on January 07, 2009, 16:52:10
Anyone?
Title: Re: mp3 player in star gallery question
Post by: CREATIVE Options on January 07, 2009, 17:34:45
which bot do you use to have this mp3 ?
Title: Re: mp3 player in star gallery question
Post by: CREATIVE Options on January 07, 2009, 17:48:50
I have created a new category item in star gallery placed the following code after the text.
Code: [Select]
{mp3}http://linux.cxm/images/sound/madrilenita.mp3{/mp3}

What ? now I see that.
So If I understand well, you have created a category in the Star Gallery (component) and then you placed the bot code
Code: [Select]
{mp3}http://linux.cxm/images/sound/madrilenita.mp3{/mp3} as what ? description ? name ?
I don't think that the bot can load like this, only in content area & and inside a user module.

P.S. Does your mp3 file exist ? I have just checked it and there is no mp3 file.
Title: Re: mp3 player in star gallery question
Post by: xmanhattan on January 07, 2009, 18:26:46
Sirigos,

This is on my linux test server.  I am using the mp3 bot and yes the mp3 file that I have shown is loaded in the directory shown.  The same file works using the same bot setup on the front page of the test server but when it is placed inside the star gallery it does not work.

Could it be some sort of conflict?
Title: Re: mp3 player in star gallery question
Post by: datahell on March 23, 2009, 20:35:45
The mp3 bot is a content bot and runs only inside content items and autonomous pages.
Title: Re: mp3 player in star gallery question
Post by: xmanhattan on March 24, 2009, 12:58:04
Good to know,
Thank you.