html5 webworks,MediaError - HTML5/WebWorks for BB10 - BlackBerry Developer

MediaError

All media elements have an associated error status, which records the last error the element encountered since its resource selection algorithm was last invoked. The error attribute, on getting, must return the MediaError object created for this last error, or null if there has not been an error.

Supported Platform(s)

- BlackBerry OS 6.0+

- BlackBerry PlayBook 1.0+

- BlackBerry 10

- Ripple Emulator

View Supported Platform Table

Configuration Document Settings

To use all of the API described for this object, you must ensure the following settings are in your configuration document:

This API does not require a element to be declared in the configuration document of your BlackBerry WebWorks Application.

Permission Elements (PlayBook and BlackBerry 10+)

This API does not require a element to be declared in the configuration document of your BlackBerry WebWorks Application.

Properties

The code attribute of a MediaError object must return the code for the error

Supported Platforms

- BlackBerry OS 6.0+

- BlackBerry PlayBook 1.0+

- BlackBerry 10

- Ripple Emulator

Constants

static

Number

MEDIA_ERR_ABORTED

The fetching process for the media resource was aborted by the user agent at the user's request.

Supported Platforms

- BlackBerry OS 6.0+

- BlackBerry PlayBook 1.0+

- BlackBerry 10

- Ripple Emulator

static

Number

MEDIA_ERR_NETWORK

A network error of some description caused the user agent to stop fetching the media resource, after the resource was established to be usable.

Supported Platforms

- BlackBerry OS 6.0+

- BlackBerry PlayBook 1.0+

- BlackBerry 10

- Ripple Emulator

static

Number

MEDIA_ERR_DECODE

An error of some description occurred while decoding the media resource, after the resource was established to be usable.

Supported Platforms

- BlackBerry OS 6.0+

- BlackBerry PlayBook 1.0+

- BlackBerry 10

- Ripple Emulator

static

Number

MEDIA_ERR_SRC_NOT_SUPPORTED

The media resource indicated by the src attribute was not suitable.

Supported Platforms

- BlackBerry OS 6.0+

- BlackBerry PlayBook 1.0+

- BlackBerry 10

- Ripple Emulator

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Feb 11 2013 14:51:08 GMT-0500 (EST)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值