-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #300 from fmtvp/TVPE-101_temp_strategy
TVPE-101 adding new strat for vestel issue (MB10X)
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This page strategy is a slight variant on html5hbbtvhybrid in that it will call the app.show() if it exists. | ||
This is all temp stuff. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<object id="appmgr" type="application/oipfApplicationManager" style="position: absolute; width: 0; height: 0; visibility:hidden;"></object> | ||
<script type="text/javascript" language="javascript"> | ||
//<![CDATA[ | ||
var appMgr = document.getElementById('appmgr'); | ||
|
||
if(appMgr.getOwnerApplication) { | ||
var app = appMgr.getOwnerApplication(document); | ||
if (app) { | ||
app.show(); | ||
app.privateData.keyset.setValue(0x3FF); | ||
} | ||
} // Else the device must not have hbbtv APIs available | ||
//]]> | ||
</script> | ||
|
||
<object id="broadcastVideoObject" type="video/broadcast" style="position: absolute; width: 0px; height: 0px;"></object> |