ace/experiments/o3.html

32 строки
842 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="author" content="Fabian Jakobs">
</head>
<body>
<embed type="application/o3demo-8a66ecac-63fd-4afa-9d42-3034d18c88f4" width="0" height="0" />
<script src="o3.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
var o3obj = document.getElementsByTagName("embed")[0];
//o3obj = o3.create("8a66ecac-63fd-4afa-9d42-3034d18c88f4", {
/*
o3obj = o3.create("8A66ECAC-63FD-4AFA-9D42-3034D18C88F4", {
oninstallprompt : function(){ alert("can't find o3 plugin");},
product : 'O3Demo'
});*/
alert("O3: " + o3obj);
alert("socket: " + o3obj.socketTCP());
</script>
</body>
</html>