473,394 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Embedding EMBED tag in OBJECT

Hi all.
I want to embed the EMBED tag in the object tag.

I understood that I need to provide a PARAM tag inside the OBJECT
whose value will hold the content of EMBED src attribute, but after
that I've got confused.

For example, what should be put into classid and codebase attributes
of the OBJECT now embedding the EMBED tag?

Is there any general convention of how to complete embedding any EMBED
tag in the OBJECT tag, disregarding the type of media in embed src
tag?

Thanks in advance for your help

Anna
Jul 20 '05 #1
11 4455
Anna wrote:
I want to embed the EMBED tag in the object tag.


http://www.spartanicus.utvinternet.ie/embed.htm

--
Spartanicus
Jul 20 '05 #2
Hi Spartanicus.
Thanks for answering.

W3C WCAG explicitly says to leave embeds for backward compatibility,
but to include every embed in object:

"Objects, such as those requiring a plug-in, should use the OBJECT
element. However, for backward compatibility with Netscape browsers,
use the proprietary EMBED element within the OBJECT element."

I don't need to embed a specific embed into object, I need to know
a general convention of how to do this.

E.g. - take value of the 'src' attribute of EMBED and put it as value
for
'value' attribute of PARAM tag inside the OBJECT tag created.

Something like this, only full :-)

I hope there is something that will allow me to do such thing.
So can you or anybody else point me to some resource about this issue?

Thank you very much for help.

Anna
Spartanicus <me@privacy.net> wrote in message news:<lj********************************@news.spar tanicus.utvinternet.ie>...
Anna wrote:
I want to embed the EMBED tag in the object tag.


http://www.spartanicus.utvinternet.ie/embed.htm

Jul 20 '05 #3
Anna wrote:
W3C WCAG explicitly says to leave embeds for backward compatibility,
but to include every embed in object:

"Objects, such as those requiring a plug-in, should use the OBJECT
element. However, for backward compatibility with Netscape browsers,
use the proprietary EMBED element within the OBJECT element."
Incorrect and outdated, don't treat W3C advice as the final word.
I don't need to embed a specific embed into object, I need to know
a general convention of how to do this.


Which can be derived from the document at the url I mentioned, but one
of the points the document is making that the embed tag should not be
used at all.

--
Spartanicus
Jul 20 '05 #4
On Sun, 23 Nov 2003, Anna wrote:
W3C WCAG explicitly says to leave embeds for backward compatibility,
Well, it's at http://www.w3.org/TR/WCAG10-HTML-TEC...bed-multimedia
apparently.
but to include every embed in object:
Did you take notice of the annotation "Deprecated example"?

Using this kind of crud violates the requirement for W3C-conforming
valid HTML. So it'll fail the very accessibility criteria which (we
hope) you are aiming to satisfy.

The only way to satisfy checkpoint 3.2
http://www.w3.org/TR/WCAG10-HTML-TECHS/#doctype
(in the absence of an open published DTD that includes "embed")
and still use an "embed", would be to provide alternative documents;
you can't fool the system by trying to hide the "embed" inside an
"object". But the provision of alternative documents is an option
that's only offered for when all else has failed, see
http://www.w3.org/TR/WCAG10-CORE-TECHS/#alt-pages

No doubt whoever snuck that into the Techniques thought they were
doing it for the best, at the time, and they may have been right, over
3 years back. But times change.
element. However, for backward compatibility with Netscape browsers,
use the proprietary EMBED element within the OBJECT element."

I don't need to embed a specific embed into object, I need to know
a general convention of how to do this.


Simple answer: "don't". If you follow the WCAG document itself, you
will find no reference to this idea: as far as I can see, it's only
slunk into the version 1.0 "Techniques" (which are now over 3 years
old) as a palliative to an obsolete browser (Netscape 4). Folks who
are still running that browser now presumably have their own good
reasons for doing so, but they surely don't expect the best of what
current webpage developments can give them. So leave them to get the
best that their browser can do with standard HTML, would be my
counsel.
Jul 20 '05 #5
Alan, thank you for your answer.
Now I understand it better.

So from what I understood, I should replace every EMBED tag with the
OBJECT tag?

And what is the general convention here?
What OBJECT attributes do I need to use (data, classid, codebase) in
the replacement?

Sorry for these stupid questions, but I want to do it as clean and
right as possible, and I couldn't find any good resources on the
issue.

Thank you very much for your help.

Anna

"Alan J. Flavell" <fl*****@ph.gla.ac.uk> wrote in message news:<Pi******************************@ppepc56.ph. gla.ac.uk>...
On Sun, 23 Nov 2003, Anna wrote:
W3C WCAG explicitly says to leave embeds for backward compatibility,


Well, it's at http://www.w3.org/TR/WCAG10-HTML-TEC...bed-multimedia
apparently.
but to include every embed in object:


Did you take notice of the annotation "Deprecated example"?

Using this kind of crud violates the requirement for W3C-conforming
valid HTML. So it'll fail the very accessibility criteria which (we
hope) you are aiming to satisfy.

The only way to satisfy checkpoint 3.2
http://www.w3.org/TR/WCAG10-HTML-TECHS/#doctype
(in the absence of an open published DTD that includes "embed")
and still use an "embed", would be to provide alternative documents;
you can't fool the system by trying to hide the "embed" inside an
"object". But the provision of alternative documents is an option
that's only offered for when all else has failed, see
http://www.w3.org/TR/WCAG10-CORE-TECHS/#alt-pages

No doubt whoever snuck that into the Techniques thought they were
doing it for the best, at the time, and they may have been right, over
3 years back. But times change.
element. However, for backward compatibility with Netscape browsers,
use the proprietary EMBED element within the OBJECT element."

I don't need to embed a specific embed into object, I need to know
a general convention of how to do this.


Simple answer: "don't". If you follow the WCAG document itself, you
will find no reference to this idea: as far as I can see, it's only
slunk into the version 1.0 "Techniques" (which are now over 3 years
old) as a palliative to an obsolete browser (Netscape 4). Folks who
are still running that browser now presumably have their own good
reasons for doing so, but they surely don't expect the best of what
current webpage developments can give them. So leave them to get the
best that their browser can do with standard HTML, would be my
counsel.

Jul 20 '05 #6
On Mon, 24 Nov 2003, Anna wrote:
So from what I understood, I should replace every EMBED tag with the
OBJECT tag?
The idea of OBJECT is that you can wrap several alternatives
inside each other, with an ultimate fallback (maybe just a simple text
telling them what they're missing) in the middle.

A great idea, but I'm afraid the browser implementation often falls
short of the intentions. (Especially in a certain browser-like
operating system component ...)
And what is the general convention here?
What OBJECT attributes do I need to use (data, classid, codebase) in
the replacement?
Sorry, I don't personally know a good tutorial that is really
browser-agnostic, but this page[1] looks a reasonable presentation of
the ideas, together with some practical issues:

http://devedge.netscape.com/viewsour...p-and-plugins/
Sorry for these stupid questions, but I want to do it as clean and
right as possible, and I couldn't find any good resources on the
issue.
I don't seem to have seen you saying just what it is that you're
hoping to include in your pages with these markups. I think you'll
find a fair bit of support around here for the advice that quite a lot
of what got inserted into pages with <embed> would have been better
left out, rather than trying to find standards-based ways of putting
it in.

Or at least delegating it to a separate page, which readers can go to
if they're so inclined.

But it really depends on what it is you're wanting to put there.

I hope others will step in here with some practical advice from
their own experience...?
Thank you very much for your help.


See: How am I supposed to post my replies in a newsgroup?:
http://allmyfaqs.com/faq.pl?How_to_post

good luck

[1] (once I've compensated for the page's determination to interfere
with my default font size, bleagh...)

Jul 20 '05 #7
On 11/24/03 1:49 PM, in article
Pi******************************@ppepc56.ph.gla.ac .uk, "Alan J. Flavell"
<fl*****@ph.gla.ac.uk> wrote:
On Mon, 24 Nov 2003, Anna wrote:
So from what I understood, I should replace every EMBED tag with the
OBJECT tag?
The idea of OBJECT is that you can wrap several alternatives
inside each other, with an ultimate fallback (maybe just a simple text
telling them what they're missing) in the middle.

A great idea, but I'm afraid the browser implementation often falls
short of the intentions. (Especially in a certain browser-like
operating system component ...)
And what is the general convention here?
What OBJECT attributes do I need to use (data, classid, codebase) in
the replacement?


Sorry, I don't personally know a good tutorial that is really
browser-agnostic, but this page[1] looks a reasonable presentation of
the ideas, together with some practical issues:

http://devedge.netscape.com/viewsour...p-and-plugins/
Sorry for these stupid questions, but I want to do it as clean and
right as possible, and I couldn't find any good resources on the
issue.


I don't seem to have seen you saying just what it is that you're
hoping to include in your pages with these markups. I think you'll
find a fair bit of support around here for the advice that quite a lot
of what got inserted into pages with <embed> would have been better
left out, rather than trying to find standards-based ways of putting
it in.

Or at least delegating it to a separate page, which readers can go to
if they're so inclined.

But it really depends on what it is you're wanting to put there.

I hope others will step in here with some practical advice from
their own experience...?


speaking practically . . . using QuickTime content - if the object tag
alone is used only 3 browsers (explorer,safari,omniweb) of 9 tested will
display a movie.
If the embed tag is included inside the object tag all 9 play it.

Also the embed tag (in terms of QuickTime) has many more options than the
object tag has.


Thank you very much for your help.


See: How am I supposed to post my replies in a newsgroup?:
http://allmyfaqs.com/faq.pl?How_to_post

good luck

[1] (once I've compensated for the page's determination to interfere
with my default font size, bleagh...)


Jul 20 '05 #8
On Wed, 26 Nov 2003, NOIZe wrote:

[comprehensive quotage now snipped]
speaking practically . . . using QuickTime content - if the object tag
alone is used only 3 browsers (explorer,safari,omniweb) of 9 tested will
display a movie.
If the embed tag is included inside the object tag all 9 play it.
Do you know any that can't display it when it's linked with
a simple <a href="..."> ?
Also the embed tag (in terms of QuickTime) has many more options than the
object tag has.


You seem to be struggling to fit a proprietary application into an
open information infrastructure. Are you familiar at all with the WAI
guidelines, which was surely the key to this discussion?
[pointless quotage, on which it appeared you had no comment, now
snipped]
Jul 20 '05 #9
On 11/26/03 2:39 PM, in article
Pi******************************@ppepc56.ph.gla.ac .uk, "Alan J. Flavell"
<fl*****@ph.gla.ac.uk> wrote:
On Wed, 26 Nov 2003, NOIZe wrote:

[comprehensive quotage now snipped]
speaking practically . . . using QuickTime content - if the object tag
alone is used only 3 browsers (explorer,safari,omniweb) of 9 tested will
display a movie.
If the embed tag is included inside the object tag all 9 play it.
Do you know any that can't display it when it's linked with
a simple <a href="..."> ?


I thought we were talking about object and embed.
Also the embed tag (in terms of QuickTime) has many more options than the
object tag has.


You seem to be struggling to fit a proprietary application into an
open information infrastructure. Are you familiar at all with the WAI
guidelines, which was surely the key to this discussion?
[pointless quotage, on which it appeared you had no comment, now
snipped]


You snipped the part I was responding to . . .
I hope others will step in here with some practical advice from
their own experience...?

That is from my own experience and it is practical.

Jul 20 '05 #10
NOIZe <no***@on.aibn.com> wrote:
speaking practically . . . using QuickTime content - if the object tag
alone is used only 3 browsers (explorer,safari,omniweb) of 9 tested will
display a movie.
If the embed tag is included inside the object tag all 9 play it.
To be of practical use to others can you supply more information?

Which nine browsers on which operating systems with which versions of
QuickTime (plugin vs active x) were they?

And what was the object code used? There's more than one way to write
an object tag. Well, there's the standard way, and the MS way, and
various hybrids.
Also the embed tag (in terms of QuickTime) has many more options than the
object tag has.


I may be naive, but I thought that an attribute of the embed tag
name="value" could be turned into a <param name="name" value="value">
in an object. Is this not the case? Or are there limitations in some
browsers? Or limitations with QuickTime itself?

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #11
"Steve Pugh" using <st***@pugh.net> wrote:
NOIZe <no***@on.aibn.com> wrote:
speaking practically . . . using QuickTime content - if the object tag
alone is used only 3 browsers (explorer,safari,omniweb) of 9 tested will
display a movie.
If the embed tag is included inside the object tag all 9 play it.
To be of practical use to others can you supply more information?

Which nine browsers on which operating systems with which versions of
QuickTime (plugin vs active x) were they?


I'm sorry I was talking about current mac OS X versions.
And what was the object code used? There's more than one way to write
an object tag. Well, there's the standard way, and the MS way, and
various hybrids.
The recommendation for QuickTime is structured like this
-----------
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320"
height="256" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="SRC" value="foo.mov">
<param name="CONTROLLER" value="TRUE">
<param name="AUTOPLAY" value="TRUE">
<param name="CACHE" value="FALSE">
<embed
src="foo.mov"
width="320" height="256"
controller="TRUE"
autoplay="TRUE"
cache="FALSE"
type="video/quicktime"
pluginspage="http://www.apple.com/quicktime/download/">
</embed>
</object>
-------------
Flash is similar.

Also the embed tag (in terms of QuickTime) has many more options than the
object tag has.


I may be naive, but I thought that an attribute of the embed tag
name="value" could be turned into a <param name="name" value="value">
in an object. Is this not the case? Or are there limitations in some
browsers? Or limitations with QuickTime itself?


I'm sure not near as naïve as I am posting about media plug-ins in the face
of W3C and wai recommendations, but there are in this case doZens of embed
attributes that are not included in the activeX controls.

http://www.apple.com/quicktime/authoring/embed.html

Of course if eolas and ms and the w3c have their way with us it will become
much more complicated than that.

http://developer.apple.com/internet/ieembedprep.html

jim

Steve


Jul 20 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

56
by: alan b | last post by:
I copied it and tried to edit the movie.htm below in the <PARAM NAME=*** location of the file where the videoclip is on my hard drive. It is already recorded by Windows Media Player. My version...
53
by: Andrew Poulos | last post by:
I've got some CSS that looks like this: body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 140.01%; color: #000000; } but IE won't apply the font size to text in table...
6
by: jonathanztaub | last post by:
I have a DVD CD. * Is it possible to embed it within an html page? * Does the user has to have windows media player or any other program associated with it? * How exactly do I use the <embed>...
2
by: Lyn | last post by:
I am trying to embed a picture into a Bound Object Frame (Me!Photograph) with the following code which is based on MS article http://support.microsoft.com/?id=158941: strPathname =...
1
by: Darren | last post by:
Hi Groups, Simple Task: Embed flash/shockwave swf into an aspx page. Problem: Visual Studio does not recognize attributes: pluginspage, quality, or type. Generates msg: Could not find any...
3
by: Ollie Riches | last post by:
How do I embed a *.flv file (Flash Video) into an aspx page similar to embedding windows media player active x control? Cheers Ollie Riches
1
by: MissMarie | last post by:
I've been playing around with DIV tables in myspace to better learn how to rewrite my own code for my business site without having to pay someone to design it. I've tried embedding a slideshow into...
5
by: Anil Gupte | last post by:
How do I embed Windows Media Player so I can control it with VB code. I am familiar with embedding in a web page like this: *************** <embed src="Test.asx" width=320 height=300...
5
by: Barrie Wilson | last post by:
anyone have any idea why I might be having an impossible time embedding a YouTube <objectin an .ASPX file: <object width="425" height="355"> <param name="movie"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.