Skip to main content

Media Player Control

The Media Player Control is used to play video or audio content within a microapp. It includes standard media player controls such as play/pause, volume adjustment, and fullscreen view.

Media Player Control
Media Player Control

Binding Data Options​

The Media Player control provides options to configure media files for playback within a microapp. Utilizing binding data, you can define static media content for seamless integration within the player.

Static Media​

Static media binding enables the preloading of specific audio or video content into the Media Player. Here's an example of static data binding for media files:

{
"videoURL": "https://www.example.com/sample_video.mp4",
"thumbnail": "https://www.example.com/thumbnail_image.jpg"
}

Properties​

PropertyDescription
Media TypeChoose between Audio, Video, or Auto for automatic media detection.

For Video:

  • Play on Load: Determines whether the video starts playing automatically on load.

For Audio:

  • Loop: Enables looping playback for audio files.