Schema Explorer

Choose element:

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 targetting supports v1.3 you should use label intead 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
mimeType string Yes Mime type of associated media (e.g. "video/mp4"). 1.1
url uri Yes URL to media. Supports data URI in version 1.2+ 1.1

Properties

mimeType

Mime type of associated media (e.g. "video/mp4").

  • Type: string
  • Required: Yes

url

URL to media. Supports data URI in version 1.2+

  • Type: uri
  • Required: Yes