Hello,
I saw on this forum that a lot of poeple use some java or flash plugin with Mysource Matrix for exemple some gallerie. I tried to use a little flash player with my website but it does not seem to work ( http://www.alsacreations.fr/dewplayer-en).
This is the code of my mp3 player :
<object type=“application/x-shockwave-flash” data=“dewplayer.swf?mp3=test.mp3” width=“200” height=“20”>
<param name=“movie” value=“dewplayer.swf?mp3=test.mp3” />
</object>
I Have Upload my MP3 and the flash file as some “File” asset.
In my code I changed the path of my dewplayer by ./a?=3330 and my mp3 path by ./a?=3305 That does not work.
I think I just need some help about how to use some flash or java file with my source matrix.
Thanks
Change your paths to ./?a=3330 and ./?a=3305 :)
[quote]Hello,
I saw on this forum that a lot of poeple use some java or flash plugin with Mysource Matrix for exemple some gallerie. I tried to use a little flash player with my website but it does not seem to work ( http://www.alsacreations.fr/dewplayer-en).
This is the code of my mp3 player :
[codebox]<object type=“application/x-shockwave-flash” data=“dewplayer.swf?mp3=test.mp3” width=“200” height=“20”>
<param name=“movie” value=“dewplayer.swf?mp3=test.mp3” /></object>
[/codebox]
I Have Upload my MP3 and the flash file as some “File” asset.
In my code I changed the path of my dewplayer by ./a?=3330 and my mp3 path by ./a?=3305 That does not work.
I think I just need some help about how to use some flash or java file with my source matrix.
Thanks[/quote]
Additionally you might want to add something like this:
[codebox]<object type=“application/x-shockwave-flash” data=“dewplayer.swf?mp3=test.mp3” width=“200” height=“20”>
<param name=“movie” value=“dewplayer.swf?mp3=test.mp3” />
<embed src=“dewplayer.swf?mp3=test.mp3” width=“200” height=“20” >
</embed>
</object>
[/codebox]
The embed tags are used by (older) non IE browsers.
Ok thanks a lot. Thats perfect.
[quote]Additionally you might want to add something like this:
[codebox]<object type=“application/x-shockwave-flash” data=“dewplayer.swf?mp3=test.mp3” width=“200” height=“20”>
<param name=“movie” value=“dewplayer.swf?mp3=test.mp3” />
<embed src=“dewplayer.swf?mp3=test.mp3” width=“200” height=“20” >
</embed>
</object>
[/codebox]
The embed tags are used by (older) non IE browsers.[/quote]
I realised that what I have given you above does not actually validate so heres some amendments.
[codebox]<object type=“application/x-shockwave-flash” data=“dewplayer.swf?mp3=test.mp3” width=“200” height=“20”>
<param name=“movie”
value=“dewplayer.swf?mp3=test.mp3” />
<p>Put any comments for users without flash in here.
</p>
</object>[/codebox]
This will embed your flash using valid XHTML and will work across all major browsers.
Figured that one out thanks to the smart people at A list apart: http://alistapart.com/articles/flashsatay
[quote]I realised that what I have given you above does not actually validate so heres some amendments.
[codebox]<object type=“application/x-shockwave-flash” data=“dewplayer.swf?mp3=test.mp3” width=“200” height=“20”>
<param name=“movie”
value=“dewplayer.swf?mp3=test.mp3” />
<p>Put any comments for users without flash in here.
</p>
</object>[/codebox]
This will embed your flash using valid XHTML and will work across all major browsers.
Figured that one out thanks to the smart people at A list apart: http://alistapart.com/articles/flashsatay[/quote]
That is a good article.
One issue that crops up a bit is flash objects’ behaviour with CSS flyout/dropdown menus or other DHTML content that moves around. The flash object will layer above menus or other DHTML elements that pass through it by default, meaning that menu items can’t be seen or clicked in some cases.
A useful parameter to add if this is happening is this:
[codebox]<param name=“wmode” value=“opaque”>[/codebox]
That will allow you to layer the flash object in your DHTML hierarchy using z-index. You can also use “transparent” instead of “opaque”, but some people have reported performance issues resulting from that setting.