Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-10 19:03:27

reptilerobots
Member
Registered: 2005-08-20
Posts: 72

Flash embed - W3C compliant -

Not sure if this is the correct area to post this, but I am having some trouble getting a slimmed down flash embed / object code to pass W3c validation…

<code><object type=“application/x-shockwave-flash” data=“http://www.wearetherobots.com/portfolio/file_download/index_title.swf” width=“375” height=“400”><param name=“wmode” value=“transparent”><param name=“movie” value=“http://www.wearetherobots.com/portfolio/file_download/index_nav.swf” /></object> </code>

I believe that I got the formatting from Alistapart

it is saying that my param tags are incorrect, which they arent, it is telling me to close them, but that won’t work… and when I do close them, then it says those are incorrect too-
<code>
1. Error Line 12 column 187: end tag for “param” omitted, but OMITTAG NO was specified.

…ram name=“wmode” value=“transparent”><param name=“movie” value=“http://www.we

You may have neglected to close an element, or perhaps you meant to “self-close” an element, that is, ending it with “/>” instead of “>”.

2. Info Line 12 column 147: start tag was here.

…_title.swf” width=“375” height=“400”><param name=“wmode” value=“transparent”></code>

Last edited by reptilerobots (2006-01-10 19:04:37)

Offline

#2 2006-01-10 19:12:08

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: Flash embed - W3C compliant -

This is for embedding quicktime, but it might be helpful. It is based on Flash Satay (http://www.alistapart.com/stories/flashsatay/).

http://realdev1.realise.com/rossa/rendertest/quicktime.html

Offline

#3 2006-01-10 21:49:12

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: Flash embed - W3C compliant -

There was a long discussion of this last autumn on here. A search for flash or embeddign witll probably turn up the threads.


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

#4 2006-01-10 23:00:29

bancroft
Member
Registered: 2005-09-30
Posts: 39

Re: Flash embed - W3C compliant -

I don’t think there’s anything wrong with that at all. Try checking the code before and after for any typos just in case.

Offline

#5 2006-01-10 23:35:33

reptilerobots
Member
Registered: 2005-08-20
Posts: 72

Re: Flash embed - W3C compliant -

the code works fine in every browser Ive viewed it in, but I still get the validation error.

Offline

#6 2006-01-11 00:12:18

bancroft
Member
Registered: 2005-09-30
Posts: 39

Re: Flash embed - W3C compliant -

The embedded code is fine, but I find that sometimes with the validator it is almost impossible to pin point the actual error. So if you have a quick lookie at the code around the embedded code if there is an error it could be there, but the validation results can throw you off a bit.

Graham

Offline

#7 2006-01-11 00:35:52

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: Flash embed - W3C compliant -

Here’s how I display my quicktime if this helps.
<code>
<object classid=“clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=“http://www.apple.com/qtactivex/qtplugin.cab” width=“416” height=“192”><param name=“src” value=”/vid/listen_again.mov” /><param name=“controller” value=“true” />
<object type=“video/quicktime” data=”/vid/listen_again.mov” width=“416” height=“192” class=“mov”><param name=“controller” value=“true” />Sorry, there’s been an error.</object>
</object>
</code>


Offline

#8 2006-03-05 22:18:49

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: Flash embed - W3C compliant -

Yah…..the problem was that… you had no closing on the param tag.

<code>
<param name=“param name” value=“param value” /> <——right there at the end…..
</code>

Offline

#9 2006-09-07 19:12:59

slabanosa
Member
From: Silva Carbonaria
Registered: 2004-06-01
Posts: 57

Re: Flash embed - W3C compliant -

fwiw no more object embedding since the eolas dispute, not sure about flash, but I guess it is the same route: no more embed or object tags since they are now patented and will trigger a security alert in MSIE 7
QT workaround here a real pain let me tell you.
wc3 compliance ? gotta think of that still

Offline

#10 2006-09-07 20:24:21

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,125
Website GitHub

Re: Flash embed - W3C compliant -

I’ve used the SWFobject embedding method successfully before. It gets around the eolas activation using JS, the code is clean and you can provide alternative content for search machines or for when JS is deactivated. I didn’t find it any more complex than the flash-satay method.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB