Well not all, just the src attribute. What files can it play? Just mp3, avi, etc? Media files? Is there a .js hack where I could use that file type in the embed?
(This is going to sound nuts) Could I write a javascript/html file and save it with the extention of .mp3 and use embed with that file?! (I'll try it)
So you know what I'm trying to get at right? These are my questions.
All there is to the EMBED tag.
Moderator: General Moderators
- aaronhall
- DevNet Resident
- Posts: 1040
- Joined: Tue Aug 13, 2002 5:10 pm
- Location: Back in Phoenix, missing the microbrews
- Contact:
Re: All there is to the EMBED tag.
The embed tag forwards your file to the appropriate browser plugin (determined by the browser) to 'execute' the file.JellyFish wrote:Well not all, just the src attribute. What files can it play? Just mp3, avi, etc? Media files? Is there a .js hack where I could use that file type in the embed?
The browser would forward the file to whichever plugin handles '.mp3' files, which would try to blast your javascript through the speakers (or not). Note that EMBED isn't present in any modern html/xhtml standard, though still widely supported.(This is going to sound nuts) Could I write a javascript/html file and save it with the extention of .mp3 and use embed with that file?! (I'll try it)