Closed (fixed)
Project:
MP3 Player
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2009 at 10:15 UTC
Updated:
23 May 2009 at 20:33 UTC
Is it possible to have the player start playing its mp3 when you click a link?
Use case: I'm hiding the mp3 player in a div with a 'Play' a href link -- clicking the Play link makes the div appear however the player still needs to get clicked to play. Is it possible to hook into the player with the link? I vaguely recall something like this possible with the JW FLV player (though I'm aware this isn't the JW player).
I've tried setting autostart to true and while the player doesn't start when hidden in Firefox, it does in IE, so it's not the best way to go at this either.
Comments
Comment #1
jdelaune commentedI have a site which have a MP3 Player set to autostart in a div which is set to display: none;
Works fine in all browser as it plays once the div is set to display something via javascript.
Apart from that there isn't a way I know of communicating with the flash file via javascript.
Comment #2
bsuttis commentedThanks Starnox, can you provide the link to your site so I can see what you did?
Comment #3
jdelaune commentedhttp://www.htb.org.uk/downloads
Comment #4
jdelaune commented