473,397 Members | 1,961 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,397 software developers and data experts.

Is OBJECT or EMBED displaying SWF

With "normal" SWF HTML there's an EMBED tag nested within an OBJECT tag.
How can I check which tag is actually displaying the SWF? I'm using CSS
on them and the style on the OBJECT affects the EMBED tag so I'm going
to use some code to correct it but I can't tell which tag is responsible
for the display.

Andrew Poulos
Aug 7 '06 #1
1 2945

Andrew Poulos wrote:
With "normal" SWF HTML there's an EMBED tag nested within an OBJECT tag.
How can I check which tag is actually displaying the SWF? I'm using CSS
on them and the style on the OBJECT affects the EMBED tag so I'm going
to use some code to correct it but I can't tell which tag is responsible
for the display.
If you refer to the usual object-embed structure, that by the way is
invalid html because of the embed, the outer container is an ActiveX
object. This is easy to spot because of the very long special ActiveX
id, that is different for flash, WMP, Real etc. Usually ActiveX works
only for IE browsers and close relatives, although recent Opera
browsers seem to use some trick to play a WMP ActiveX only object even
though they are unlikely support ActiveX. However there are special
ActiveX plugins for Mozilla family browsers for a few formats such as
WMP, but few likely have these installed. If the ActiveX object is not
supported by the browser, then most browsers will take the invalid
embed path written within the ActiveX object, but it usually works,
because most browsers have not yet removed support for the invalid
embed tag.

If you are not sure what path is being taken, just remove the embed tag
and everything else following to and including the close embed tag. If
the page then works, you are supporting the ActiveX object. If the page
does not work, the viewing browser will not support the ActiveX object.
Some browsers will support both the ActiveX object and an embed path.
In this case, the ActiveX path is used when the embed path is within
the ActiveX object path.

Of course, even for flash, it is possible to avoid using embed by using
a special ordinary object, but it is a bit more complicated than for
the case of WMP audio or video.

Aug 7 '06 #2

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

Similar topics

12
by: R | last post by:
Hello everybody. I'm writing my own Content System in PHP5. I've written so far main classes for handling DB connections, XML, XForms and Sessions. But I've got problem with one thing - it's...
0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
3
by: Tony Sutton | last post by:
I have this following code in my html file: <object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#...
11
by: Anna | last post by:
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...
9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
2
by: avanhalen | last post by:
To embed flash objects in my pages, I read them from a database. A script file (Filedownload.aspx) reads it from the database, and streams it to the browser. Here are two example flash objects...
2
by: SM | last post by:
Hello, I've created this 'wonderful' function the embeds a youtube video in a specified div section using the Javascript DOM. Everything works OK... until I realize how bad the logical programming...
5
by: suresh_nsnguys | last post by:
Hi, I am facing one problem in embed flash object.i am displaying the flash (.swf file) using embed tag<embed> in IE.i want to display the alert box when user click the mouse over the flash .i am...
2
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.