開発API » HTML5 VideoストリームAPI

APIの概要

Flash をサポートしていない Apple のデバイスなどでライブを再生するためのHTMLコードです。

HTMLコード

<a href="http://twitcasting.tv/twitcastest/metastream.m3u8/?video=1"><video src="http://twitcasting.tv/twitcastest/metastream.m3u8/?video=1" autoplay="true" controls="true" poster="http://movie.twitcasting.tv/image2/50/b/000fbb50-1.jpg" width="320" height="180"></video></a>

必要な環境

HTTP Live Streaming Support (iPhone, iPad, iPod Touch, Mac OSX Safari)

認証

不要

制約事項

合言葉が設定されているライブは対象外です

Videoタグのパラメータ

autoplay True if play video automatically.
自動的に再生を開始する場合true
controls True if show video controls.
操作パネルを表示する場合true
poster Thumbnail image of the initial video player.
初期のサムネイル画像
height, width Set video aspect to 16:9.
画面のアスペクトは16:9を指定します。

サンプル

UserId
Width
Height

ページTop