HighDots Forums  

xhtml 1.1 and Flash embed

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss xhtml 1.1 and Flash embed in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael Lunsford
 
Posts: n/a

Default xhtml 1.1 and Flash embed - 01-09-2008 , 11:33 AM






So, I insert a flash object on a page. It does the EOLAS thing with the
javascript, but "embed" is no longer valid code. In fact, Dreamweaver's built
in validator even shows errors with its methods. Is there an easy way to fix
this, or do I have to recode the whole thing by hand?

sorry if this is an old question -- searched the forums and knowledge base
without success.


Reply With Quote
  #2  
Old   
darrel
 
Posts: n/a

Default Re: xhtml 1.1 and Flash embed - 01-09-2008 , 12:32 PM







Quote:
So, I insert a flash object on a page. It does the EOLAS thing with the
javascript, but "embed" is no longer valid code. In fact, Dreamweaver's
built
in validator even shows errors with its methods. Is there an easy way to
fix
this, or do I have to recode the whole thing by hand?
Do you NEED XHTML? Most of the time, the answer to that is 'no'.

-Darrel




Reply With Quote
  #3  
Old   
darrel
 
Posts: n/a

Default Re: xhtml 1.1 and Flash embed - 01-09-2008 , 12:32 PM




Quote:
So, I insert a flash object on a page. It does the EOLAS thing with the
javascript, but "embed" is no longer valid code. In fact, Dreamweaver's
built
in validator even shows errors with its methods. Is there an easy way to
fix
this, or do I have to recode the whole thing by hand?
Do you NEED XHTML? Most of the time, the answer to that is 'no'.

-Darrel




Reply With Quote
  #4  
Old   
kim
 
Posts: n/a

Default Re: xhtml 1.1 and Flash embed - 01-09-2008 , 12:37 PM



xhtml 1.1... If your content is not xml I strongly read this
http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx

darrel skrev:
Quote:
So, I insert a flash object on a page. It does the EOLAS thing with the
javascript, but "embed" is no longer valid code. In fact, Dreamweaver's
built
in validator even shows errors with its methods. Is there an easy way to
fix
this, or do I have to recode the whole thing by hand?

Do you NEED XHTML? Most of the time, the answer to that is 'no'.

-Darrel



--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
  #5  
Old   
kim
 
Posts: n/a

Default Re: xhtml 1.1 and Flash embed - 01-09-2008 , 12:37 PM



xhtml 1.1... If your content is not xml I strongly read this
http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx

darrel skrev:
Quote:
So, I insert a flash object on a page. It does the EOLAS thing with the
javascript, but "embed" is no longer valid code. In fact, Dreamweaver's
built
in validator even shows errors with its methods. Is there an easy way to
fix
this, or do I have to recode the whole thing by hand?

Do you NEED XHTML? Most of the time, the answer to that is 'no'.

-Darrel



--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
  #6  
Old   
kim
 
Posts: n/a

Default Re: xhtml 1.1 and Flash embed - 01-09-2008 , 12:42 PM



should read ...I strongly advice you to read this...

kim skrev:
Quote:
xhtml 1.1... If your content is not xml I strongly read this
http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx

darrel skrev:
So, I insert a flash object on a page. It does the EOLAS thing with the
javascript, but "embed" is no longer valid code. In fact,
Dreamweaver's built
in validator even shows errors with its methods. Is there an easy way
to fix
this, or do I have to recode the whole thing by hand?

Do you NEED XHTML? Most of the time, the answer to that is 'no'.

-Darrel



--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
  #7  
Old   
kim
 
Posts: n/a

Default Re: xhtml 1.1 and Flash embed - 01-09-2008 , 12:42 PM



should read ...I strongly advice you to read this...

kim skrev:
Quote:
xhtml 1.1... If your content is not xml I strongly read this
http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx

darrel skrev:
So, I insert a flash object on a page. It does the EOLAS thing with the
javascript, but "embed" is no longer valid code. In fact,
Dreamweaver's built
in validator even shows errors with its methods. Is there an easy way
to fix
this, or do I have to recode the whole thing by hand?

Do you NEED XHTML? Most of the time, the answer to that is 'no'.

-Darrel



--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
  #8  
Old   
Michael Fesser
 
Posts: n/a

Default Re: xhtml 1.1 and Flash embed - 01-09-2008 , 12:58 PM



..oO(Michael Lunsford)

Quote:
So, I insert a flash object on a page. It does the EOLAS thing with the
javascript, but "embed" is no longer valid code.
It never was, but it's still implemented in most browsers.

And why XHTML 1.1? Such pages should be delivered as application/xhtml+
xml, which won't work in IE. Strict HTML 4.01 is still fine and will be
for many years.

Quote:
In fact, Dreamweaver's built
in validator even shows errors with its methods. Is there an easy way to fix
this, or do I have to recode the whole thing by hand?
Two solutions:

1) Live with the invalid, but browser-compatible code.
2) Use the standards-compliant way with an 'object' element, but then be
prepared for problems in older browsers. But in modern browsers and IE 6
it would work more or less.

Micha


Reply With Quote
  #9  
Old   
Michael Fesser
 
Posts: n/a

Default Re: xhtml 1.1 and Flash embed - 01-09-2008 , 12:58 PM



..oO(Michael Lunsford)

Quote:
So, I insert a flash object on a page. It does the EOLAS thing with the
javascript, but "embed" is no longer valid code.
It never was, but it's still implemented in most browsers.

And why XHTML 1.1? Such pages should be delivered as application/xhtml+
xml, which won't work in IE. Strict HTML 4.01 is still fine and will be
for many years.

Quote:
In fact, Dreamweaver's built
in validator even shows errors with its methods. Is there an easy way to fix
this, or do I have to recode the whole thing by hand?
Two solutions:

1) Live with the invalid, but browser-compatible code.
2) Use the standards-compliant way with an 'object' element, but then be
prepared for problems in older browsers. But in modern browsers and IE 6
it would work more or less.

Micha


Reply With Quote
  #10  
Old   
Michael Lunsford
 
Posts: n/a

Default Re: xhtml 1.1 and Flash embed - 01-09-2008 , 01:29 PM



Wow, great replies from everyone. As to IE7 not supporting
application/xml+xhtml -- I am fully aware (and kind of pleased, actually). I'm
using php to read the accept request header. So, if the browser doesn't
specifically state that it accepts the xhtml 1.1, I deliver xhtml 1.0 strict.
The w3c gods consider this method taboo (at best), but that's the only
inclusive solution I can find.

Standards compliance is a personal commitment to quality I made more than a
year ago. Going back to QUIRKS (or invalid but working code) is not an option.
So, I suppose I'll be hearing from all those people who are using antiquated
browsers -- but thanks to EOLAS I was probably hearing from them already.

Moving back to the original question. I suppose the thing to do is hand
re-code the object tag instead of using DW's built in "insert" feature. This
normally wouldn't be so terrible, except for now I'll also have to write and
keep track of my own javascript EOLAS hack.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.