开发者

Changing default "Play" image

开发者 https://www.devze.com 2022-12-25 20:38 出处:网络
I am trying to change the default \"Play\" image in FlowPlayer which comes up when the player loads and 开发者_高级运维is ready to play the clip.

I am trying to change the default "Play" image in FlowPlayer which comes up when the player loads and 开发者_高级运维is ready to play the clip.

Any clues or resources?

Any help will be highly appreciated.


The most direct way would be to find the image in the source, I think it is in a .fla used as a library the last time I looked, replace it and recompile flowplayer.core yourself. This page describes how to get your development environment configured: http://flowplayer.org/documentation/developer/development-environment.html

Another way would be to hide the play plugin and replace it with your own. So something like this with onFinish, you'll need to find all the other callbacks you need as well, like load or start, pause, etc.

onFinish: function(){ this.getPlugin("play").hide(); }
0

精彩评论

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