Commit 8750df96 authored by Steve Johnson's avatar Steve Johnson

added README & LICENSE

parent 5d2df23a
This diff is collapsed.
#My Stuff Everywhere™ - mse-html repository
MSE applications are basically Shared DOM applications that can be discovered and launched. Their are two discovery mechanisms that have been implemented - DIAL and Chromecast.
Each application has a shared and remote counterpart. Each is launched in an HTML container page. The purpose of these containers is to provide a messaging mechanism so that pairing information can be sent to the child application pages. The remote container is the same for DIAL and Chromecast. There are separate shared containers for DIAL and Chromecast, as detailed below.
##Folder descriptions
####cast
Contains the initial page loaded by the Chromecast application (msecast.html) and the shared container page (sc.html) that is launched by the remote (sender) application.
####css
Contains CSS Style sheets
####demo
Contains MSE applications. Most/all of the child pages (iframes) used in an MSE application live in the sdom-html repository.
####images
Contains image files
####js
Contains javascript files
- url.js - determines urls for web services and applications
- dial.js - interface to dial servers and web based discovery (proxy)
- auth.js - interface for logging in users
####remote
Contains the remote user interface for login/device selection/application launch (remote.html) and the remote container (rc.html).
####shared
Contains the shared container (sc.html)
\ No newline at end of file
// Sometimes video remote does not show player controls. Timing issue??
processSharedDOMEvent: element id undefined: video for event: initialization
<!DOCTYPE html>
<html>
<head>
<title>YouTube Parser</title>
<meta name='copyright' content='CableLabs © 2014. All Rights Reserved'>
<meta name="viewport" charset="UTF-8" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta http-equiv="cache-control" content="no-cache">
<!-- stylesheets - external -->
<!-- stylesheets - local -->
<!--link href="pgmonitor.css" media="screen" rel="stylesheet" type="text/css"-->
<!-- javascript - external -->
<script src="https://code.jquery.com/jquery-1.8.2.min.js"></script>
<!-- javascript - local -->
<script type="text/javascript" src="../ext/js/jquery.cookie.js" ></script>
<script type="text/javascript" src="../js/xhr.js" ></script>
</head>
<body>
<script>
$( document ).ready(function() {
// Initialize the shared DOM
app.initApplication();
var request = new XMLHttpRequest();
request.issue("./rawGuide.json", function(reply){
if (reply.httpStatus == 200) {
console.log("raw json:");
console.log(reply.responseText);
var guide = JSON.parse(reply.responseText);
}
}
});
</script>
<h2>PGMonitor</h2>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment