Skip to content

Commit e9184a7

Browse files
committed
Added index page
1 parent b126915 commit e9184a7

File tree

13 files changed

+789
-1
lines changed

13 files changed

+789
-1
lines changed

embed.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#vid-box{
55
width: 100%;
66
height: 100%;
7+
text-align: center;
78
}
89

910
#vid-box video{
@@ -83,7 +84,7 @@
8384
}
8485

8586
function handleNoStream(){
86-
video_out.innerHTML="<h1>That stream no longer exists!</h1>";
87+
video_out.innerHTML="<h2>That stream no longer exists!</h2>";
8788
stream_info.hidden=true;
8889
}
8990

img/body-bg.png

2.34 KB
Loading

img/highlight-bg.jpg

30.3 KB
Loading

img/hr.png

130 Bytes
Loading

img/octocat-icon.png

477 Bytes
Loading

img/tar-gz-icon.png

741 Bytes
Loading

img/zip-icon.png

735 Bytes
Loading

index.html

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset='utf-8'>
5+
<meta http-equiv="X-UA-Compatible" content="chrome=1">
6+
<link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
7+
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
8+
<link rel="stylesheet" type="text/css" href="stylesheets/github-dark.css" media="screen">
9+
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print">
10+
<!--[if lt IE 9]>
11+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
12+
<![endif]-->
13+
<title>SimpleRTC by GleasonK</title>
14+
</head>
15+
16+
<body>
17+
<div id="container">
18+
<div class="inner">
19+
20+
<header>
21+
<h1>SimpleRTC</h1>
22+
<h2>A simple demonstration of WebRTC with PubNub</h2>
23+
</header>
24+
25+
<section id="downloads" class="clearfix">
26+
<a href="https://github.com/GleasonK/SimpleRTC/zipball/master" id="download-zip" class="button"><span>Download .zip</span></a>
27+
<a href="https://github.com/GleasonK/SimpleRTC/tarball/master" id="download-tar-gz" class="button"><span>Download .tar.gz</span></a>
28+
<a href="https://github.com/GleasonK/SimpleRTC" id="view-on-github" class="button"><span>View on GitHub</span></a>
29+
</section>
30+
31+
<hr>
32+
33+
<section id="main_content">
34+
<h1>
35+
<a id="simplertc" class="anchor" href="#simplertc" aria-hidden="true"><span class="octicon octicon-link"></span></a>SimpleRTC</h1>
36+
37+
<p>See what PubNub + WebRTC is capable of!</p>
38+
<h2><a href="minivid.html">Simple Video 1</a></h2>
39+
<p>Create a video chat in 20 lines of JavaScript.</p>
40+
41+
<h2><a href="minivid2.html">Simple Video 2</a></h2>
42+
<p>Add features to that video chat such as group chatting, muting
43+
streams, and pausing video.</p>
44+
45+
<h2><a href="streams.html">Streaming & Embedding</a></h2>
46+
<p>Stream video from one device to many listeners. Also embed that
47+
live video feed anywhere you want!</p>
48+
49+
50+
51+
</section>
52+
53+
<footer>
54+
SimpleRTC is maintained by <a href="https://github.com/GleasonK">GleasonK</a><br>
55+
This page was generated by <a href="https://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
56+
</footer>
57+
58+
59+
</div>
60+
</div>
61+
</body>
62+
</html>

params.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"Liveblogr","tagline":"A Live Blogging application build using Go and PubNub","body":"# LiveBlogr\r\n\r\nA Live Blogging application build using Go and PubNub\r\n\r\n## Built With\r\n\r\n- PubNub\r\n- Golang\r\n- Google App Engine\r\n- Imgur API\r\n\r\n## Sign up now!\r\n\r\nVisit the site and see progress at [liveblogr.appspot.com](liveblogr.appspot.com)!","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}

streams.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,20 @@
141141
$('#logs').append("<p>"+log+"</p>");
142142
}
143143

144+
function end(){
145+
if (!window.phone) return;
146+
phone.hangup();
147+
phone.pubnub.unsubscribe(phone.number());
148+
}
149+
144150
function genEmbed(w,h){
145151
if (!streamName) return;
146152
var url = "http://kevingleason.me/SimpleRTC/embed.html?stream=" + streamName;
147153
var embed = document.createElement('iframe');
148154
embed.src = url;
149155
embed.width = w;
150156
embed.height = h;
157+
embed.frameborder=0;
151158
embed_demo.innerHTML = embed.outerHTML;
152159
embed_code.innerHTML = '';
153160
embed_code.appendChild(document.createTextNode(embed.outerHTML));

0 commit comments

Comments
 (0)