swfdetect.html revision b5ea9923e255f649110ea11465ba8db74a5eb395
<html>
<head>
<title>swfdetect tests</title>
</head>
<body class="yui-skin-sam">
<h1>SWFDetect Tests</h1>
<div id="testoutput"></div>
<script type="text/javascript">
YUI({
base: '/build/',
filter: "raw",
modules: {
swfdetect: {
path: "swfdetect/swfdetect.js"
}
}
}).use('swfdetect', function (Y) {
output = "";
output += "Flash Major: " + String(Y.UA.flashMajor) + "<br/>";
output += "Flash Minor: " + String(Y.UA.flashMinor) + "<br/>";
output += "Flash Revision: " + String(Y.UA.flashRev) + "<br/>";
document.getElementById('testoutput').innerHTML = output;
});
</script>
</body>
</html>