-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
41 lines (31 loc) · 1.01 KB
/
index.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
41
<html>
<script type="text/javascript">
function detectBrowser()
{
/*
var fallback = true;
if (navigator && navigator.vendor) {
if (navigator.vendor.search("Apple") != -1) {
var vers = parseInt(navigator.appVersion.replace(/^.*?AppleWebKit\/(\d+).*?$/,'$1'),0);
if (vers >= 532) {
fallback = false;
}
}
}
var slashIndex = window.location.href.lastIndexOf("/");
var cropped = window.location.href.slice(0,slashIndex+1);
if (fallback) {
window.location.replace( cropped + "assets/fallback/index.html" );
}
else {
window.location.replace( cropped + "assets/player/KeynoteDHTMLPlayer.html" );
}
*/
var slashIndex = window.location.href.lastIndexOf("/");
var cropped = window.location.href.slice(0,slashIndex+1);
window.location.replace(cropped + "assets/player/KeynoteDHTMLPlayer.html");
}
</script>
<body bgcolor="black" onload="detectBrowser()">
</body>
</html>