Class MediaSource

java.lang.Object
org.htmlunit.corejs.javascript.ScriptableObject
All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class MediaSource extends EventTarget
A JavaScript object for MediaSource.
See Also:
  • Constructor Details

    • MediaSource

      public MediaSource()
      Creates an instance.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
      Overrides:
      jsConstructor in class EventTarget
    • isTypeSupported

      public static boolean isTypeSupported(String mimeType)
      Parameters:
      mimeType - the mimeType to check
      Returns:
      indicating if the given MIME type is supported by the current user agent — this is, if it can successfully create SourceBuffer objects for that MIME type
      See Also: