开发者

flowplayer hide video display for mp3 player

how can i hide video display, im just trying to开发者_StackOverflow社区 display controlbar only for audios. btw im using javascript control bar.


Put the player-swf into a separate div ( <div id="flash"> ), whenever you'd like to hide the output just execute document.getElementById("flash").style.display = "none"; and document.getElementById("flash").style.display = "block"; to show it again.


Embed your flash player into a <div id="player"><!-- your flash player here --></div>. Use these styles for it:

#player {
    width: 0;
    height: 0;
}

But never use display: none; to hide it because the flash player does not work in this way.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜