【问题标题】:Add video/Audio url of live streaming in mp media player在mp媒体播放器中添加直播的视频/音频url
【发布时间】:2013-11-13 05:37:52
【问题描述】:

我需要将视频/音频的 url 添加到我网站上的播放器。

例如:我从嵌入标签的“src”中得到这段代码

http://www.ndtv.com/common/videos/flash/player/new-wrapper/NDTVVideoPlayer.swf?1384167757

但它没有用。

请建议如何获取正确的 URL, 媒体播放器是“MP Plyaer”

【问题讨论】:

    标签: php html video-streaming html5-video


    【解决方案1】:

    像这样嵌入您的 SWF

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
      <head>
        <title>Embed SWF</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <script type="text/javascript" src="swfobject.js"></script>
    
        <script type="text/javascript">
        swfobject.embedSWF("http://www.ndtv.com/common/videos/flash/player/new-wrapper/NDTVVideoPlayer.swf?1384167757", "myContent", "300", "120", "9.0.0");
        </script>
    
      </head>
      <body>
        <div id="myContent">
          <p>NDTV SWF</p>
        </div>
      </body>
    </html>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-01-29
      • 1970-01-01
      • 2014-09-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多