what is the coding for background music and do need the copyright for uploading the music file?
what is the coding for background music and do need the copyright for uploading the music file?
Moved to site management...
I am not sure of the coding, but to answer your second question. Yes.
You have to have permission from the artist, or copyright holder to host or play music on x10.
( Please review the x10 TOS )
In your HTML index file, add like this whereever you want, but at the end is best :
<embed style="width:1px;height:1px;" autostart="true" loop="true" src="URL-TO-MUSIC-FILE"></embed>
Just replace URL-TO-MUSIC-FILE with a real url.
It can be any kind of musicfile you like, be it .mp3, .mid, .wav....whatever
Autostart and loop can also be set to false. Loop means it plays over and over again.
If you set autostart to be "false", you need to set the width and height to like 180px and 100px.
This way ppl can see the panel on the player and start it whenever they want
You can also set the height and width to whatever you like.
I have 1px in both, because I dont want the player to be seen.
Hope this helps ;)
:thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger
@mooseman thanks for that post. would you now how to code button for turning off the sound if user wanted?
If you use HEIGHT=60 WIDTH=144 you will get a simple control panel on the player itself where they can pause/start the music
:thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger
Alternatively you could embed the sound file in a flash movieThis has the added advantage of them NOT being able to easily download your music