bonus-ui/public/monitor/iframe.html

58 lines
1.6 KiB
HTML
Raw Normal View History

2025-06-26 16:20:38 +08:00
<!doctype html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="Expires" content="0" />
</head>
<style type="text/css">
html, body {
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
}
.plugin {
width: 100%;
height: 100%;
}
</style>
<body>
<div id="divPlugin" class="plugin"></div>
</body>
2025-06-27 16:48:42 +08:00
<script src="./codebase/jquery-3.6.4.min.js"></script>
2025-06-26 16:20:38 +08:00
<script src="./codebase/encryption/AES.js"></script>
<script src="./codebase/encryption/cryptico.min.js"></script>
<script src="./codebase/encryption/crypto-3.1.2.min.js"></script>
<script src="./codebase/jsPlugin-1.2.0.min.js"></script>
<script src="./codebase/webVideoCtrl.js"></script>
<script>
var urlParams = new URLSearchParams(window.location.search);
2025-06-30 14:18:52 +08:00
var type = urlParams.get('type');
console.log(type)
2025-06-26 16:20:38 +08:00
$(function () {
2025-06-27 16:48:42 +08:00
var height = '350';
2025-07-08 09:13:29 +08:00
var width = $("body").width();
2025-06-30 14:18:52 +08:00
if(type=="1"){
2025-07-08 09:13:29 +08:00
width = $("body").width() * 0.5;
2025-06-30 14:18:52 +08:00
height = '350';
}
if(type=="2"){
2025-07-08 09:13:29 +08:00
width = $("body").width() * 0.5;
2025-06-30 14:18:52 +08:00
height = '600';
}
2025-06-26 16:20:38 +08:00
// <20><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
WebVideoCtrl.I_InitPlugin(width,height, {
bWndFull: true,//<2F>Ƿ<EFBFBD>֧<EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD>˫<EFBFBD><CBAB>ȫ<EFBFBD><C8AB><EFBFBD><EFBFBD>Ĭ<EFBFBD><C4AC>֧<EFBFBD><D6A7> true:֧<><D6A7> false:<3A><>֧<EFBFBD><D6A7>
iWndowType: 1,
cbInitPluginComplete: function () {
WebVideoCtrl.I_InsertOBJECTPlugin("divPlugin");
}
});
});
</script>
</html>