File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 1616 height : 100vh ;
1717 box-sizing : border-box;
1818 }
19+ [data-mode = "bottom" ] iframe {
20+ height : 200px ;
21+ position : absolute;
22+ bottom : 0 ;
23+ left : 0 ;
24+ }
1925 </ style >
2026 </ head >
2127 < body >
2228 < iframe
23- src =" https://www.streamtext.net/player?event=IHaveADream&ff=K2D,Verdana,sans-serif&fs=30&fgc=ffffff&bgc=transparent&header=false&controls=false&footer=false&chat=false "
29+ id =" ccFrame "
2430 allowtransparency ="true "
2531 frameborder ="0 "
2632 > </ iframe >
33+ < script >
34+ var eventName = location . search . match ( / e n v = t e s t / ) ? 'IHaveADream' : 'JavaScriptBangkok'
35+ ccFrame . src = "https://www.streamtext.net/player?event=" + eventName + "&ff=K2D,Verdana,sans-serif&fs=64&fgc=ffffff&bgc=transparent&header=false&controls=false&footer=false&chat=false"
36+ </ script >
37+ < script >
38+ if ( location . search . match ( / m o d e = b o t t o m / ) ) {
39+ document . body . setAttribute ( 'data-mode' , 'bottom' )
40+ }
41+ </ script >
2742 </ body >
2843</ html >
You can’t perform that action at this time.
0 commit comments