Schema Explorer
Important note about accessibility: In version 1.3 of the schema we introduced a label property on Inputs to improve accessibility. If the Host app you are targeting supports v1.3 you should use label instead of a TextBlock as seen in some samples below. Once most Host apps have updated to the latest version we will update the samples accordingly.
MediaSource
Defines a source for a Media element
Introduced in version 1.1
Property | Type | Required | Description | Version |
---|---|---|---|---|
url | uri |
Yes | URL to media. Supports data URI in version 1.2+ | 1.1 |
mimeType | string |
No | Mime type of associated media (e.g. "video/mp4" ). For YouTube and other Web video URLs, mimeType can be omitted. |
1.1 |
Properties
mimeType
Mime type of associated media (e.g. "video/mp4"
). For YouTube and other Web video URLs, mimeType
can be omitted.
- Type:
string
- Required: No
url
URL to media. Supports data URI in version 1.2+
- Type:
uri
- Required: Yes