I uploaded a new version of detectvr.js
I can't do this for Strict doctype, but it works fine for transitional doctype: see this example:
http://validator.w3.org/check?uri=http% ... ne&group=0
This is the HTML code:
Code:
<!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" xml:lang="en" lang="en">
<head>
<title>panorama</title>
<script type="text/javascript" src="detectvr.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style media="screen" type="text/css">
<!--
html,body { width:100%; height:100%; margin:0 }
-->
</style>
</head>
<body>
<script type="text/javascript">
writecode( "./testfiles/testfileForQT.mov", "./testfiles/testfileForQT.mov", "", "","","100%","100%");
</script>
</body>
</html>
regards!