wyrian/js/libs/soundmanager/demo/flashblock/method1/flashblock.css

61 lines
1.3 KiB
CSS
Raw Normal View History

#sm2-container {
/* where the SM2 flash movie goes. */
position:relative;
}
#sm2-container,
#sm2-container embed,
#sm2-container.swf_timedout {
/* 48px square flash placeholder is typically used by blockers */
width:48px;
height:48px;
}
#sm2-container.swf_timedout {
/* likely a flash block situation. Maybe make it more bold, red, show descriptive nested elements? */
border:1px solid red;
}
#sm2-container object,
#sm2-container embed {
/* hide flash off-screen by default */
position:absolute;
left:-9999em;
top:-9999em;
}
#sm2-container.swf_timedout object,
#sm2-container.swf_timedout embed {
/* when blocked, make visible inside container */
left:auto;
top:auto;
}
#sm2-container object,
#sm2-container embed {
/* 6x6 is small enough to be "invisible" and not blocked by click2flash if allowed, also enough to be really fast/performant on-screen */
width:48px;
height:48px;
}
#sm2-container.swf_unblocked,
#sm2-container.swf_unblocked object,
#sm2-container.swf_unblocked embed {
width:6px;
height:6px;
}
#sm2-container.high_performance {
position:absolute;
position:fixed;
_top:0px; /* IE 6 hax */
bottom:0px;
left:0px;
}
#sm2-container.high_performance object,
#sm2-container.high_performance embed {
position:absolute;
left:0px;
top:0px;
}