MediaObject

更新时间:
复制 MD 格式

Parameter

Type

Description

Example

object

The media file.

Type

string

The type of media source. Valid values:

  • OSS: an OSS object.

  • Media: a media asset.

  • ExternalURL: a publicly accessible external URL. Not available for public use.

OSS

Media

string

The identifier for the media file.

  • If Type is set to OSS, the value is the URL of the media file. Supported formats: oss://... and https://...

  • If Type is set to Media, the value is the ID of the media asset.

http://bucket.loction.aliyuncs.com/path/to/video.mp4