51
procentric/application/referece/ptc_lg/Channel_Media/index.html
Executable file
51
procentric/application/referece/ptc_lg/Channel_Media/index.html
Executable file
@@ -0,0 +1,51 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Pro:Centric Sample application</title>
|
||||
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
|
||||
<script src='./hcap.js'></script>
|
||||
<script src='./script.js'></script>
|
||||
|
||||
<script>
|
||||
function reload(){
|
||||
document.location.reload(true);
|
||||
}
|
||||
function reboot() {
|
||||
hcap.power.reboot({
|
||||
"onSuccess": function () {
|
||||
console.log("Success to reboot");
|
||||
},
|
||||
"onFailure": function (f) {
|
||||
console.log("Fail to reboot : " + f.errorMessage);
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<span id='title'>Pro:Centric Sample application</span>
|
||||
<hr>
|
||||
<p class = "inlineClass logTitle"><b> Press digit button on remote or click a button:</b></p>
|
||||
<button type="button" class="inlineClass reload_btn btn btn-lg" onclick="reload()">Reload</button>
|
||||
<button type="button" class="inlineClass reboot_btn btn btn-lg" onclick="reboot()">Reboot</button>
|
||||
<ol>
|
||||
|
||||
<li>Channel and Media(VOD)
|
||||
<button type="button" class="inlineClass clear_btn btn btn-lg"
|
||||
onClick = "location.href = './Apps/player_sample/player_sample.html';">Click</button></li>
|
||||
|
||||
<li>Media(Video tag)
|
||||
<button type="button" class="inlineClass clear_btn btn btn-lg"
|
||||
onClick = "location.href = './Apps/videotag_sample/simpleVideo.html';">Click</button></li>
|
||||
|
||||
</ol>
|
||||
<div id="inputs"></div>
|
||||
<p type="text" id="logMsg"></p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user