开发者

Which HTML5 player with Flash fallback have a common javascript API

开发者_高级运维

As far as I can find on Google the only HTML5 player with flash that uses the same javascript API for both player is http://mediaelementjs.com.

I have a very dynamic site layout where most other HTML elements on the page should change state according to these video event:

  • beforeLoad
  • onload
  • onPlay
  • onPause
  • onStop
  • onEnd

Jquery is used to change the states so a HTML5 that works well with Jquery is preferred.

Are there other that do the job better or offer more event control? If mediaelementjs is the only one out there, I would like to hear your experiance with it.


Check http://www.jplayer.org

Here's the documentation page: http://www.jplayer.org/latest/developer-guide/


Or DarkOnyx player, two identical HTML5/Flash players - the same JavaScript API. Everything is based on Event-Listener model. Documentation is here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜