twitch html5 player
This commit is contained in:
parent
cbdffd428b
commit
f7fab2a8fb
|
@ -52,19 +52,11 @@ moreCss = moreCss) {
|
||||||
<h2 class="stream_title">@s.name</h2>
|
<h2 class="stream_title">@s.name</h2>
|
||||||
@s.streamer.service match {
|
@s.streamer.service match {
|
||||||
case lila.tv.StreamerList.Twitch => {
|
case lila.tv.StreamerList.Twitch => {
|
||||||
<object
|
<iframe
|
||||||
type="application/x-shockwave-flash"
|
src="http://player.twitch.tv/?channel=@s.streamId"
|
||||||
width="694"
|
width="694"
|
||||||
height="418"
|
height="418"
|
||||||
id="live_embed_player_flash"
|
allowfullscreen autoplay></iframe>
|
||||||
data="http://www.twitch.tv/widgets/live_embed_player.swf?channel=@s.streamId"
|
|
||||||
bgcolor="transparent">
|
|
||||||
<param name="allowFullScreen" value="true" />
|
|
||||||
<param name="allowScriptAccess" value="always" />
|
|
||||||
<param name="allowNetworking" value="all" />
|
|
||||||
<param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" />
|
|
||||||
<param name="flashvars" value="hostname=www.twitch.tv&channel=@s.streamId&auto_play=true&start_volume=25" />
|
|
||||||
</object>
|
|
||||||
}
|
}
|
||||||
case lila.tv.StreamerList.Hitbox => {
|
case lila.tv.StreamerList.Hitbox => {
|
||||||
<iframe
|
<iframe
|
||||||
|
|
Loading…
Reference in a new issue