|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2004
Location: Melbourne, Australia
Posts: 7,306
|
w3 not validating flash?
http://validator.w3.org/check?uri=ht...tomatically%29
Is there any way to have valid XHTML and have flash in it? I dont understand why it doesnt like the embed attributes?? Thank you in advance |
|
|
|
|
|
#2 |
|
☆★☆★
![]() Join Date: Jan 2002
Location: in transition
Posts: 21,423
|
<embed> is not a tag in HTML 4.0 or XHTML 1.0. Try Flash Satay instead.
![]() |
|
|
|
|
|
#3 |
|
Robert Wellock
![]() Join Date: Apr 2002
Location: A Maze of Twisty Little Passages
Posts: 2,384
|
Though <embed /> is in my hand-rolled XHTML DTD.
|
|
|
|
|
|
#4 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Dec 2002
Posts: 386
|
But be aware there are issues with the flash satay method, including that it makes IE unable to stream the flash.
Possibly better to just have a page valid but for the flash |
|
|
|
|
|
#5 |
|
Rabble Rouser
![]() Join Date: Jan 2003
Location: Mountain View, CA
Posts: 430
|
pissant, read the article a little more thoroughly. IE can still be made to stream the flash via a loader (as described.)
__________________
Being Eaten: An Alternate State of Consumption |
|
|
|
|
|
#6 | |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Dec 2002
Posts: 386
|
Quote:
There are major restrictions to what you can and can't do with a swf loaded into another and since most of the flash work I've done lately has been of the RIA variety having those restrictions can cause a lot more pain than it is worth to me to validate the flash SO I don't like the satay method (I do think it is very smart work though), but others may like it, I just wanted to make sure the original poster was aware of the potential sacrifice to be made for validation |
|
|
|
|
|
|
#7 |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2004
Location: Melbourne, Australia
Posts: 7,306
|
Thanks for your input guys
I have decided to go WITH the satay method in this case as the movie is only 7k. But for bigger movies I think I will stick to the original method.![]() |
|
|
|
|
|
#8 |
|
...
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Location: London, UK
Posts: 757
|
There's one other issue with using the Flash satay method you may want to know about.
http://www.sitepoint.com/forums/showthread.php?p=672337 |
|
|
|
|
|
#9 |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2004
Location: Melbourne, Australia
Posts: 7,306
|
Ahhh, its always IE
![]() |
|
|
|
|
|
#10 |
|
I see geek people
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2005
Location: NYC
Posts: 227
|
I know this is an old thread, but I have the same flash-no-validating problem and found an easy solution. Will post it here for those that maybe search for the same problem in the future.
This code has been tested and works in Internet Explorer 5.01, 5.5, 6.0, Mozilla, Firefox, Opera and Konqueror and is fully XHTML Strict valid. No <embed> tags needed. Valid Flash example for XHTML 1.0 Strict (XHTML 1.1) <object type="application/x-shockwave-flash" data="images/banner.swf" width="288" height="128"> <param name="movie" value="images/banner.swf" /> <img src="banner.gif" width="288" height="128" alt="banner" /> source: http://www.ambience.sk/flash-valid.htm
__________________
Portfolio |
|
|
|
|
|
#11 |
|
SitePoint Guru
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: London
Posts: 841
|
i've been using the satay method for ages
never had any problems at all (so far)
__________________
|
|
|
|
|
|
#12 | |
|
I see geek people
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2005
Location: NYC
Posts: 227
|
Quote:
__________________
Portfolio Last edited by adris72; Feb 24, 2005 at 06:10.. |
|
|
|
|
|
|
#13 | |
|
⠵
![]() Join Date: Dec 2004
Location: Sweden
Posts: 2,515
|
Quote:
http://zcorpan.1go.dk/flash/ (Only, I used a conditional comment just to show that it's only IE that needs the param)
__________________
Simon Pieters (works for Opera Software, though represents just himself) |
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 09:22.














Linear Mode
