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
Site Built - need music.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
first upgrade to 1.8
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 08 May 2008, 00:51
Janthank
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
...
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}
If you find Phoca extensions useful, please support the project