summaryrefslogtreecommitdiff
path: root/docs/dymaxion/soundmanagerv297a-20101010/demo/flashblock/method1/flashblock.css
blob: d8a9e69acc6920672de79bde4e43bb6c1c4bbc90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#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;
}