Page 1 of 1

JanYour

Posted: 24 May 2008, 08:28
by zubo
Jan

Your product has really helped me build a beautiful site dedicated to my son who died almost a year ago URL.

If you look at each page they all load and play music because all content has this text in similar to the following:
{audio autostart}images/stories/music/09 - U2 - Beautiful Day.mp3{/audio}
This uses an audio plugin to play the track.

I have read the manual and docs but cannot see how to paste this code.
Look at the Memories menu - it shows the phoca galleries, look at the bottom it contains your logo Phoca Gallery and 1.8.0 Alfa - how do I edit that - or rather is this a css file - can I edit that and copy the audio tag here?

thanks

george

first upgrade to 1.8

Posted: 24 May 2008, 22:04
by Jan
first upgrade to 1.8.2
you can hide the logo in parameters

The problem is that the following code:
{audio autostart}images/stories/music/09 - U2 - Beautiful Day.mp3{/audio}
only works in content (article) but gallery is not a content...so try to copy the following code:

<object type="application/x-shockwave-flash" data="http://www.jamesszubinski.me.
uk/plugins/content/1pixelout/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://www.jamesszubinski.me.uk/plugins/content/1pixelo
ut/player.swf">

<param name="FlashVars" value="bg=0xf8f8f8&leftbg=0xeeeeee&lefticon=0x6666
66&rightbg=0xcccccc&rightbghover=0x999999&righticon=0x666666&rightico
nhover=0xffffff&text=0x666666&slider=0x666666&track=0xFFFFFF&border=0
x666666&loader=0x9FFFB8&loop=yes&playerID=1&autostart=yes&soundFi
le=http://www.jamesszubinski.me.uk/images/stories/music/09 - U2 - Beautiful Day.mp3">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>


and paste in (in some text editor) in:

components/com_phocagallery/views/category/tmpl/default.php e.g. at the end of file...

Jan

Janthank

Posted: 25 May 2008, 19:49
by zubo
Jan

thanks for that, I upgraded (on my localhost dev version) and added that in at the end but it did not play anything. Searched and found some other player code as follows and used that at the end:

<object id="mp3player" type="application/x-shockwave-flash" data="player.swf" width="220" height="30" style="vertical-align: bottom;">
<!-- MP3 Flash player. Credits, license, contact & examples: http://pyg.keonox.com/flashmp3player/ -->
<param name="type" value="application/x-shockwave-flash" />
<param name="codebase" value="http://download.macromedia.com/pub/shoc ... #version=6, 0,40,0" />
<param name="movie" value="player.swf" />
<param name="FlashVars" value="file=http://www.jamesszubinski.me.uk/images/stories/music/09 - U2 - Beautiful Day.mp3" />
</object>

This does play, but plays all the time, regardless of where I am on the site and all I want to do is to autostart it when the gallery loads and close it when other non gallery pages are loaded.

any ideas?

thanks

george

...

Posted: 26 May 2008, 17:19
by Jan
no idea, I don't know the player, I only copied the html code from your site and thought, it should work on other site too , maybe there must be some setting which is used in the plugin {audio}