This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlcs-sitaraba-jikkyo.html
97 lines (89 loc) · 2.79 KB
/
lcs-sitaraba-jikkyo.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<head>
<title>LCSしたらば実況</title>
</head>
<body>
{{> content }}
</body>
<template name="content">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<h1><a class="brand" href="/">LCS したらば実況</a></h1>
</div>
</div>
</div>
</div>
</div>
<div id="main">
<div id="comments_container">
<h2>Comments</h2>
<div id="comments">
{{#if is_live }}
{{> live_comments }}
{{else}}
{{> archive_comments }}
{{/if}}
</div>
</div>
<div id="video_container">
<div class="_wrap">
<h2>TwitchTV</h2>
<div id="player_container">
{{#if is_live }}
{{> live_video }}
{{else}}
{{> archive_video }}
{{/if}}
</div>
{{> time }}
</div>
</div>
</div>
{{> twitch_api }}
</template>
<template name="live_comments">
{{#each comments }}
<div id="{{thread_id}}_{{res_idx}}" class="comment">
<span class="res_idx">{{res_idx}}</span>
<span class="date">{{date}}</span>
<pre class="text">{{text}}</pre>
</div>
{{/each}}
</template>
<template name="archive_comments">
{{#each comments }}
<div id="{{thread_id}}_{{res_idx}}" class="comment">
<span class="res_idx">{{res_idx}}</span>
<span class="date">{{date}}</span>
<pre class="text">{{text}}</pre>
</div>
{{/each}}
</template>
<template name="live_video">
<object data="http://www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf" height="738px" id="live_site_player_flash" name="live_site_player_flash" type="application/x-shockwave-flash" width="100%">
<param name="allowFullScreen" value="true">
<param name="wmode" value="opaque">
<param name="allowScriptAccess" value="always">
<param name="allowNetworking" value="all">
<param name="flashvars" value="channel=riotgames&hostname=www.twitch.tv&auto_play=true">
</object>
</template>
<template name="archive_video">
<object name="archive_site_player_flash" data='http://www-cdn.jtvnw.net/widgets/archive_site_player.swf' height='738px' id='archive_site_player_flash' type='application/x-shockwave-flash' width='100%'>
<param name='allowScriptAccess' value='always' />
<param name='allowNetworking' value='all' />
<param name='allowFullScreen' value='true' />
<param name='flashvars' value='auto_play=true&channel=riotgames&archive_id={{archive_id}}&enable_javascript=true&videoId=a{{archive_id}}&hostname=www.twitch.tv' />
</object>
</template>
<template name="time">
<div>
<h4>{{ current }}</h4>
</div>
</template>
<template name="twitch_api">
<div id="twitch_api">
</div>
</template>