Using mediaelement.js Flash player standalone
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.
- You can simply edit the CSS and image files.
- You can add your own items, like so: http://mediaelementjs.com/examples/?name=loop
- 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.
精彩评论