Originally Posted by
bob1941
Christina - Have you embedded .wma files in a web page so that the player is invisible? If so, what HTML code did you use to make that happen? I know how to imbed the file with a large or small player visible and have the files open by themselves, but I'd dearly like to eliminate the player to discourage downloading on some pages. Thanks.
Bob
Yes, I do that often. I do still like to keep a bit of the player visible for just turning off the audio though. You can just make it hidden.
Code:
<EMBED SRC="somefile.wma" HIDDEN="false" LOOP=False AUTOPLAY="true" AUTOSTART="true" width=200 height=40></embed>
This shows a small bar with play, stop and next and previous buttons available in case you're playing a meta-file (.wax or .asx) of several songs instaead of just one or just the .wma file. This of course also works with mp3 or midi.
My intsructions work in IE for all types of files and in Firefox for some of them (not midi apparently - in FF that needs to be embedded indirectly as a .wax of .asx file with the midi file pointed to).
Here's an example with a midi file: http://songwriters-chat.webado.com/fun/illusions.shtml
And another with a .wma file : http://www.melinas-music.com/Lyrics/Melina-LEON.shtml
And another with a .wax file: http://nancy-heartmusic.com/Lyrics/I...A%20Song.shtml
You can make the player even smaller and set width="50" or something like that and you just get play and stop.
If you set HIDDEN="true" then you won't see the player at all. Then you defintely should put it on autoplay, obviously.
There is another way involving both an embed and an object. I 'lll have to find an example of this, as I don't have it handy. I think it may help with other browsers like Firefox in some cases.