Multi-Media Label explanation

Source: Internet
Author: User
Tags file url

1. <embed></embed> Multimedia Tags

Features: Used to embed plugins in Web pages to play multimedia files

Compatible: Not a specification element, but the general browser is supported, the Web recommended to use <object> replace it. Different plug-in properties may not be the same.

<embed> This label is not recommended, Netscape support

?

<embed> Property Description:

Width???????????? Width

Height???????????? Height

Src???????????? Multimedia file URL

Mode???????????? Sets whether the player background is transparent

Value:

Transparent???????? Transparent

Quality???????????? Set Playback quality

--Take value:

???? High

???? Low

Type???????????? Set Playback type

Value:???????? Application/x-shockwave-flashplayer

??

Pluginspage???? Sets the multimedia playback.

Example:

<embed src= "images/banner.swf" width= "778" height= "202" quality= "High" Pluginspage= "Http://www.macromedia.com/go/getflashplayer" type= "Application/x-shockwave-flash" wmode= " Transparent "></embed>

?

Note: If you want to implement the ability to load multimedia files such as flash files, simply refer to the code in the Example section and change the blue section to the path, height, width, and other attributes and attribute values that you need to introduce into the file.

2. <object></object> Label

is the standard,

?

Common Properties:

CLASSID: Set the registration code for multimedia playback

CODEBASE:???????? Set when the browser does not have a flash plugin installed

?

<param> tags

Description

???? Mainly used to set the parameters of multimedia playback

???? <param name= "movie" value= "images/banner.swf" >

???? Set the URL of a multimedia file

???? <param name= "Quality" value= "High" >

???? Set playback quality to high

???? <param name= "wmode" value= "Transparent" >

???? Sets the player background to be transparent.????

?????

?

?

Example:

<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://download.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#version=6,0,29,0 "width="778"height="202">

???????? <param name= "movie" value= "images/banner.swf" >

???????? <param name= "Quality" value= "High" >

???????? <param name= "wmode" value= "Transparent" >

</object>

?

Note: If you want to implement the ability to load multimedia files such as flash files, simply refer to the code in the Example section and change the blue section to the path, height, width, and other attributes and attribute values that you need to introduce into the file.

?

3, <embed> and <object> comparison:

Both are objects that are used to play multimedia files.

The object element is used in IE browser, embed element for non-IE browser, in order to ensure compatibility, usually we use two elements simultaneously, the browser will automatically ignore its unsupported tags.

?

If you are compatible with multiple browsers, you should write <embed> and <object> together.

?

<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://download.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#version=6,0,29,0 "width=" 778 "height=" 202 ">

<param name= "movie" value= "images/banner.swf" >

<param name= "quality" value= "High" >

<param name= "wmode" value= "Transparent" >

<embed src= "images/banner.swf" width= "778" height= "202" quality= "High" pluginspage= "Http://www.macromedia.com/go /getflashplayer "type=" Application/x-shockwave-flash "wmode=" Transparent "></embed>

</object>

Multi-Media Label explanation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.