View Full Version : embed tag?
johnb.
08-10-2004, 12:08 AM
hey guys-
this is my first post in here, but i've been around for a while, just reading up and trying to learn. onto the question:
i'm more of a flash guy than html, but i'm trying to balance myself out lately. so i am wanting to make sure my html is all validated, right? well in order to have my little flash animation on it, i use the <object> tag and <embed> due to netscape skipping over the <object> tag, right? well the <embed> tag returns this error:
The tag name: "embed" Not found in currently active versions.[HTML 4.0]
why is that? is there a 'hack' of sorts that will help me get around this crap? thanks for any help, it's greatly appreciated!
Whiteknight
08-10-2004, 01:49 AM
what version of netscape are you using? i thought the embed tag was deprecated, and most new browsers wouldnt use it.
i might be wrong though, it's been a while since i did any HTML work.
johnb.
08-10-2004, 10:30 PM
i don't generally use netscape, i just stick with IE, but i'm trying to make it as cross-browser friendly as i can. a friend checked out what i have so far last night. hes running mozilla on a mac and lots of stuff messed up. he's on a 28.8 connection, but things are lagging that shouldn't be, things that have already been totally loaded due to preloading.
when he streams the .swf off of my server (instead of seeing the swf embeded within the html), it works beautifully. so i figured it must be something to do with the html. so i went to validate my html code just to make sure it is flawless, but it tells me that thing about the embed tag, saying what i quoted in the first post. so i tried putting two and two together; embed was used for netscape since netscape ignored the <object> tag or somethin like that, and mozilla was created when netscape shared some open source, so it's very similar, so i figured it was probably a problem with that <embed> tag. am i assuming too much? any idea of what's goin on? or at least what to use instead of the <embed> tag. thanks-
johnb.
08-10-2004, 10:42 PM
here's my code that puts the flash movie in and also the part that is getting the validation error:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://www.download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="600" height="450" id="base2">
<param name="MOVIE" value="base2.swf">
<param name=quality VALUE=high>
<param name=wmode value=transparent>
<embed src="base2.swf" quality=high wmode=transparent bgcolor=#333333 width="600" height="450" name="base2" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>
thanks again for any help--
johnb.
08-10-2004, 11:10 PM
when i try to get rid of the <embed> tag and put everything in the <object> tag, it lags on IE like my friend described. but if i test it on netscape or mozilla, it doesn't show up at all. i guess it is skipping over the <object> tag like i mentioned earlier. this is the code i'm referring to:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://www.download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="600" height="450" id="base2">
<param name="MOVIE" value="base2.swf" name=quality VALUE=high name=wmode value=transparent name="base2" type="application/x-shockwave-flash">
</object>
later-
johnb.
08-13-2004, 08:40 AM
now i'm thinking it's a plugin issue that various browsers will encounter. so used some javascript in the html to detect what browser version is being used and then act accordingly. thanks-
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.