开发者

Using mediaelement.js Flash player standalone

开发者 https://www.devze.com 2023-02-15 13:16 出处:网络
i\'m using the brilliant MediaElement.js library to play video. However, i want to try building anoth开发者_运维百科er interface to the Flash player, but i\'m wondering how this works. Most Flash play

i'm using the brilliant MediaElement.js library to play video. However, i want to try building anoth开发者_运维百科er interface to the Flash player, but i'm wondering how this works. Most Flash players i know expose their interface using some kind of global Javascript function, but i can't find how this works with the MediaElement.js player. I did find some code in me-shim.js, but i can't quite get how to make this works.


You have a few options.

  1. You can simply edit the CSS and image files.
  2. You can add your own items, like so: http://mediaelementjs.com/examples/?name=loop
  3. Or you can use the flash shim and events by themselves, then create your own controls using css/html and the javascript events provided to you.
0

精彩评论

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