MediaSource

open external class MediaSource : EventTarget(source)

This Media Source Extensions API interface represents a source of media data for an HTMLMediaElement object. A MediaSource object can be attached to a HTMLMediaElement to be played in the user agent.

MDN Reference

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun endOfStream(error: EndOfStreamError = definedExternally)
Link copied to clipboard
Link copied to clipboard