1

次のような HTML コードでライブ ビデオ フィードへのリンクを見つけました。

<embed height="500" width="650" flashvars="file=foxmovies&amp;streamer=rtmp://198.7.58.79/edge&amp;rtmp.subscribe=true&amp;quality=best&amp;controlbar=bottom&amp;rtmp.tunneling=false&amp;frontcolor=#fff&amp;backcolor=#000&amp;stretching=exactfit&amp;autostart=true" wmode="transparent" allowfullscreen="true" allowscriptaccess="always" quality="high" src="http://s.zuuk.net/ply.swf" type="application/x-shockwave-flash">

RTMP ストリームへの実際のリンクがどうなるか知りたいです。「ファイル」と「エッジとアンプ」とフラッシュ変数に混乱しています。

ありがとう

編集1

<script type="text/javascript">
jwplayer("dplayer").setup({
    id: 'dplayer',
       flashplayer: "http://player.ilive.to/player.swf",
    provider: "rtmp",
       streamer: "rtmp://redirect.isearch.to/edge",
    file: "2tag4dzgwof5ma2.flv",
    autostart: "true",
       plugins: {
           "http://player.ilive.to/ova/ova-jw.swf": {
              "ads": {
                 "schedule": [
                     {
                        "position": "pre-roll",
                        "tag": "http://ad4.liverail.com/?LR_PUBLISHER_ID=1912&LR_PARTNERS=718594&LR_SCHEMA=vast2-vpaid&LR_AUTOPLAY=1&LR_CONTENT=6&LR_VERTICALS=[entertainment]&LR_TITLE=[Disney_channel]&LR_VIDEO_ID=[38804]&LR_URL=[http://www.ilive.to/channels/38804/Disney_channel]"
                     }
                 ]
              },

              "debug": {
                  "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
              }
           } 
       },
       height: '100%',
       width: '100%'
});
</script>
4

1 に答える 1

0

flashvars は、Flash ムービーに渡されるキーと値のペアです。

「&」キー/値の間の区切りです(実際には「&」ですが、おそらくどこかでhtml化されています)。

したがって、あなたの場合、値は次のように渡されます。

ファイル = フォックスムービー

ストリーマー = rtmp://198.7.58.79/edge

rtmp.subscribe = true

品質=最高

コントロールバー=下

rtmp.tunneling=false

frontcolor=#fff

背景色=#000

ストレッチ=ぴったりフィット

自動開始=真

Flash ムービーがそれらを解釈してストリーム URL を生成する方法は、Flash ムービーのコードによって異なります。

于 2013-04-19T18:52:19.850 に答える