Class MediaError

java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.media.dom.client.MediaError

public final class MediaError extends JavaScriptObject

A JavaScriptObject indicating the type of error encountered by a MediaElement.

Experimental API: This API is still under development and is subject to change.

See Also:
  • Field Details

    • MEDIA_ERR_ABORTED

      public static final int MEDIA_ERR_ABORTED
      A constant returned by getCode() indicating that playback was aborted at the user's request.
      See Also:
    • MEDIA_ERR_NETWORK

      public static final int MEDIA_ERR_NETWORK
      A constant returned by getCode() indicating that playback was aborted due to a network error.
      See Also:
    • MEDIA_ERR_DECODE

      public static final int MEDIA_ERR_DECODE
      A constant returned by getCode() indicating that playback was aborted due to an error in decoding.
      See Also:
    • MEDIA_ERR_SRC_NOT_SUPPORTED

      public static final int MEDIA_ERR_SRC_NOT_SUPPORTED
      A constant returned by getCode() indicating that the format of the source stream was unsuitable for playback.
      See Also:
  • Constructor Details

    • MediaError

      protected MediaError()
  • Method Details