Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the classid in an <object> tag do?

I always see a classid in tags when I do static publishing using SWFObject, i.e.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

What is this for?? Can I just drop it?

like image 522
redconservatory Avatar asked Dec 15 '10 15:12

redconservatory


People also ask

What is Classid used for?

KLACID is used to treat certain bacterial infections including respiratory tract infections, ear infections, skin infections and peptic ulcer.

What is object tag used for?

The <object> tag defines a container for an external resource. The external resource can be a web page, a picture, a media player, or a plug-in application. To embed a picture, it is better to use the <img> tag. To embed HTML, it is better to use the <iframe> tag.

Which tag is used to place all elements into an object?

The <object> tag is an HTML tag and used to display multimedia like audios, videos, images, PDFs, and Flash in web pages.

What is an object element?

An object element contains elements for the object fields. Each object element can contain one or more attributes. The following table lists the attributes that can apply to an object element. Attribute names and values are case-sensitive. All attributes are optional.


1 Answers

The classid is define as

value as set in the Windows Registry or a URL

I know Flash embeds can work without the classid attribute, but I wouldn't recommended it.

SWFObject will implement the standard Flash embed code, so I would leave it.

like image 117
John Giotta Avatar answered Sep 26 '22 15:09

John Giotta