flowplayer设置视频logo
flowplayer("player",
"http://releases.flowplayer.org/swf/flowplayer.commercial-3.2.18.swf",{
// license key
key: '#$7162d2d730cf607ac6d' ,
// logo initially has zero opacity
logo: {
url: 'http://flash.flowplayer.org/media/img/player/acme.png',
fullscreenOnly: false,
opacity: 0
},
plugins: {
// tie logo autohiding to the controlbar
controls: {
onBeforeShowed: function () {
// gradually show on mouseover
this.getPlayer().getLogo().fadeTo(0.7, 800);
},
onBeforeHidden: function () {
// gradually hide on mouseout
this.getPlayer().getLogo().fadeTo(0, 800);
}
}
}
});
原地址: http://flash.flowplayer.org/demos/commercial/logo-autohide.html