node-alljoyn
Version:
Access Alljoyn service functions
71 lines (65 loc) • 2.96 kB
HTML
<!--
Copyright (c) 2012, AllSeen Alliance. All rights reserved.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-->
<html>
<meta name="HandheldFriendly" content="True" />
<meta name='viewport' content='width=device-width; initial-scale=1.0; maximum-scale=1.0;' />
<head>
<title>Streaming Source</title>
<link href="css/style.css" rel="stylesheet" type="text/css"></link>
</head>
<body>
<ul class="menu">
<a href="#use"><li id="tabUseButton">Browse</li></a>
<a href="#host"><li id="tabHostButton">Share</li></a>
</ul>
<div id="tabUse" class="tab">
<a name="use"></a>
<form name="browseSource">
<label>Source:</label>
<select name="sourceNames" disabled="disabled">
<option>Searching...</option>
</select>
<ul id="useSources" class="use">
</ul>
</form>
<form name="browseSink">
<label>Sink:</label>
<select name="sinkNames" disabled="disabled">
<option>Searching...</option>
</select>
<br>
<button id="prev" disabled="disabled"><<</button>
<button id="play" disabled="disabled">></button>
<button id="next" disabled="disabled">>></button>
<ul id="useSinks" class="use">
</ul>
</form>
</div>
<div id="tabHost" class="tab">
<a name="host"></a>
<p id="guid"></p>
<ul id="hostSources" class="host">
<li class="host">
<button id="add">+</button><span>Add a video</span>
<form name="addSource">
<input type="file" id="input" accept="video/*"></input>
</form>
</li>
</ul>
</div>
<script type="text/javascript" src="alljoyn_init.js"></script>
<script type="text/javascript" src="js/alljoyn.js"></script>
<script type="text/javascript" src="js/source.js"></script>
</body>
</html>