开发者

flowplayer hide video display for mp3 player

开发者 https://www.devze.com 2023-01-21 10:45 出处:网络
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=\"fl

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

精彩评论

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