Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Embed Tag
- Cowan Services
December 5, 2005, 12:32 am
rate this thread
My apologies if this has been covered before, but I was unable to download
messages before 11/23/05.
I am trying to bring some HTML pages w/embedded .WMV files into W3C
compliance. Right now, they use the <embed> tag and are therefore not
compliant. I've found a couple of work arounds for Flash files, but none for
.WMV files. The client does not want to files to be transferred to a
different format. Does anyone have the compliant code or suggestions? I
really appreciate it.
Re: Embed Tag
IMHO, stick with <embed>
Now I'm no expert here - if anyone can improve my knowledge, I'd be
_delighted_ to hear about it. But last time I asked and searched I found
a lot of advice on Flash and nothing about video.
The problem with <object> (AFAIK) is that it's too centred around the
player _application_ and doesn't have any obvious way to indicate
"here's a WMV document, deal with it according to local configuration".
OTOH, <embed> works fine in this way. Now for a proprietary format like
Flash, <object> is great because you have a good indication what's going
to be dealing with it and it's the maker's problem to keep the player
applications working and compatible. Video and music standards though
are just too diverse in their players for this to be viable. Besides
which, why should I force a particular player onto a user who has set
their default to be another?
<embed> is simple and it works. It offers an advantage that I can't
replicate with <object>. Given the general behaviour for web standards,
<embed> is going to keep working for the forseeable future with any
browser agent that isn't just a rigid validator. So for my purposes,
<embed> is on my short list of permitted fragments where I deliberately
Re: Embed Tag
posted at 2005-12-04T23:27
If you want to write valid HTML, <embed> isn't an option.
I agree that Windows Media Video is not appropriate for use on the World
Wide Web where devices besides PCs running Windows are in use; MPEG 1, Ogg
Theora, and possibly MPEG 2- or MPEG 4-based formats are probably a
better bet. However, so far at least version 7 of WMV is playable with a
program released under the GPL for GNU/Linux and other Unix-likes
___ _ _____ |*|
/ __| |/ / _ \ |*| Shawn K. Quinn
\__ \ ' < (_) | |*| email@example.com
|___/_|\_\__\_\ |*| Houston, TX, USA
Re: Embed Tag
Andy Dingley wrote:
Ideally, this should be sufficient:
<object type="video/x-ms-wmv" data="video.wmv" height="300" width="400">
Browser suppport, however, is a significant issue.
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
- » Seeking Tool to Archive and Mark Up Websites for Searches
- — Next thread in » HTML Authoring Forum