共用方式為


IHTMLSourceElement interface

Provides a way for webpage authors to specify multiple alternative media resources for IHTMLMediaElement.

Members

The IHTMLSourceElement interface inherits from the IDispatch interface. IHTMLSourceElement also has these types of members:

  • Properties

Properties

The IHTMLSourceElement interface has these properties.

Property Description

media

Gets or sets the intended media type of the media source.

src

The address or URL of the a media resource (videoaudio) that is to be considered.

type

Gets or sets the MIME type of a media resource.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch