forked from jummbus/jummbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathembed.html
More file actions
executable file
·75 lines (67 loc) · 1.9 KB
/
embed.html
File metadata and controls
executable file
·75 lines (67 loc) · 1.9 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>BeepBox Embed Player</title>
<style>
html, body {
overflow: hidden;
display: flex;
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
}
body {
background: #000;
font-family: sans-serif;
font-size: small;
color: #fff;
}
a {
color: #86f;
}
</style>
</head>
<body>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=11,0,0,0" width="100%" height="100%">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="BeepBoxEmbedded.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<embed src="BeepBoxEmbedded.swf" quality="high" bgcolor="#000000" width="100%" height="100%" name="BeepBox" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
<script type="text/javascript">
window.onload = function(){
pageDidLoad();
};
var hashInterval = null;
var myhash = "**blank**";
function getFlashMovieObject(movieName)
{
if (window.document[movieName]) {
return window.document[movieName];
}
if (navigator.appName.indexOf("Microsoft Internet")==-1) {
if (document.embeds && document.embeds[movieName])
return document.embeds[movieName];
} else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
{
return document.getElementById(movieName);
}
}
function pageDidLoad() {
hashInterval = setInterval('checkHash()', 100);
}
function checkHash() {
if (myhash != location.hash) {
var flashMovie = getFlashMovieObject("BeepBox");
if (flashMovie && flashMovie.hashUpdatedExternally) {
myhash = location.hash;
flashMovie.hashUpdatedExternally(decodeURIComponent(myhash));
}
}
}
</script>
</html>