forked from Scarygami/chromecast_experiments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (71 loc) · 2.48 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html>
<head>
<title>PhotoCast</title>
<link rel="stylesheet" href="bootstrap.css">
<link rel="stylesheet" href="card.css">
<link rel="stylesheet" href="sender.css">
<script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script>
</head>
<body>
<div class="header">
<h3>Photocast</h3>
</div>
<div class="container">
<div class="row" id="messageCard" style="display: none;">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<div id="message"></div>
</div>
</div>
</div>
</div>
<div class="row" id="signinButton" style="display: none;">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<span
class="g-signin"
data-callback="signinCallback"
data-clientid="YOUR-CLIENT_ID"
data-cookiepolicy="single_host_origin"
data-scope="https://www.googleapis.com/auth/plus.login https://picasaweb.google.com/data/"
data-width="wide" data-height="tall">
</span>
<p class="disclaimer">
By signing in with Google+ you give us permission to fetch a list of albums you uploaded to Google+.<br>
This list will only be visible to you and we won't cache it on our server.
</p>
</div>
</div>
</div>
</div>
<div id="app" style="display: none;">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-heading simple" id="albumheader">Pick one of your albums to cast...</div>
<div class="card-body">
<div id="albums">Fetching albums, please wait...</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<div id="signoutButton" class="signout"><span class="icon"></span><span class="label">Sign out & disconnect</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
Developed by <a href="https://google.com/+Gerwin Sturm">Gerwin Sturm</a>, <a href="http://www.foldedsoft.at/">FoldedSoft e.U.</a>
</div>
<script src="sender.js"></script>
</body>
</html>