共用方式為


ITIMEMediaPlayer interface

Obsolete. Enables access to the sound properties of the player.

Members

The ITIMEMediaPlayer interface inherits from the IUnknown interface. ITIMEMediaPlayer also has these types of members:

  • Methods
  • Properties

Methods

The ITIMEMediaPlayer interface has these methods.

Method Description
begin

Obsolete. Begins playback on the player.

Detach

Obsolete. Used by the host to control player lifetime.

end

Obsolete. Ends the progression of the media.

Init

Obsolete. Used by the host to control player lifetime.

pause

Obsolete. Pauses playback on the player.

repeat

Obsolete. Player repeats playback.

reset

Obsolete. The HTML+TIME host calls ITIMEMediaPlayer::reset when it's time state has completely changed and the control needs to adjust it's internal state to match that of the HTML+TIME host.

resume

Obsolete. Resumes playback of media.

seek

Obsolete. Seek to a specified point of media playback.

 

Properties

The ITIMEMediaPlayer interface has these properties.

Property Description

abstract

Obsolete. Retrieves a description of the media file if available.

author

Obsolete. Retrieves the name of the media file's author if available.

canPause

Obsolete. Retrieves a value that indicates whether the media file can be paused.

canSeek

Obsolete. Retrieves a value that indicates whether the media file is capable of locating a specific time in the media's duration.

clipBegin

Obsolete. Sets or retrieves the beginning point of a sub-clip of a continuous media object.

clipDur

Obsolete. Outputs the effective media duration.

clipEnd

Obsolete. Sets or retrieves the end point of a sub-clip of a continuous media object.

copyright

Obsolete. Retrieves the copyright information associated with a media file.

currTime

Obsolete. Retrieves the current playback time of the player.

customObject

Obsolete. Allows the player to pass in a dispatch that implements the custom object model. This interface can be passed out to script.

hasAudio

Obsolete. Retrieves a VARIANT_BOOL value that indicates whether the media contains audio.

hasVisual

Obsolete. Retrieves a VARIANT_BOOL value that indicates whether the element can draw on the screen.

mediaDur

Obsolete. Retrieves the duration of the element's media file.

mediaHeight

Obsolete. Retrieves the rendering height of the media.

mediaWidth

Obsolete. Retrieves the rendering width of the media.

playList

Obsolete. Retrieves playlist information if the player supports play lists.

rating

Obsolete. Retrieves the rating of the media file.

src

Obsolete. Sets the source URL of the media.

state

Obsolete. Retrieves the current state of the media's timeline.

title

Obsolete. Retrieves the title of the media file.

 

Remarks

This interface is only relevant for people who are writing a custom player for HTML+TIME.

Custom media players for HTML+TIME are no longer supported as of Windows Internet Explorer 7.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mstime.h

IDL

Mshtml.idl

DLL

Mstime.dll