I am having a problem getting a background sound to play in all the web browsers.
My application is designed in flash. and there is a button to open a html file. So when the html page is loaded, the background should play automatically without clicking on media player. What I have done was I have used <embed> and <noembed><BGSOUND></noembed> tag but this only worked fine in IE, not for other web browsers. So is there anyway to automatically play a background that that are work fine for all the web browser?
Hope someone could give me some idea.
Thanks in advance.
These are the coding:
Action script:
HTML code:
My application is designed in flash. and there is a button to open a html file. So when the html page is loaded, the background should play automatically without clicking on media player. What I have done was I have used <embed> and <noembed><BGSOUND></noembed> tag but this only worked fine in IE, not for other web browsers. So is there anyway to automatically play a background that that are work fine for all the web browser?
Hope someone could give me some idea.
Thanks in advance.
These are the coding:
Action script:
Code:
on (release) { getURL('testing.html'); }
Code:
<html> <head> <title>testing</title> </head> <body> <embed src="Testing.mp3" autostart=true hidden=true> <noembed><bgsound src="Testing.mp3"></noembed> </body> </html>