-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathiframe-player.html
40 lines (36 loc) · 1.41 KB
/
iframe-player.html
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>EidoGo Player</title>
<style type="text/css">
body, html {
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
background-color: #555555;
}
</style>
<link rel="stylesheet" media="all" type="text/css" href="eidogo/player/css/player.css" />
<link rel="stylesheet" media="all" type="text/css" href="wp-eidogo.css" />
<script type="text/javascript"><!--
var parentThemeStyles = parent.document.getElementById('wp-eidogo-styles-theme')
if (parentThemeStyles)
document.write('<link rel="stylesheet" media="all" type="text/css" href="' + parentThemeStyles.href + '" />');
--></script>
<script type="text/javascript" src="eidogo/player/js/all.compressed.js"></script>
</head>
<body>
<div id="player-container"></div>
<script type="text/javascript"><!--
// Get the config from the parent window
var sgfContainerId = 'player-container-' + window.location.hash.substring(1);
var config = parent.document.getElementById(sgfContainerId).eidogoConfig;
// Create the player in the given container
config.container = "player-container";
var player = new eidogo.Player(config);
--></script>
</body>
</html>
<!-- vim: set ts=4 sts=4 sw=4 noet : -->