41 lines
1 KiB
HTML
41 lines
1 KiB
HTML
<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> |