我对视频流非常陌生。有谁知道一个页面,该页面提供了设置网页以从 blob 存储流式传输视频所涉及的所有步骤的示例?理想情况下使用 FLASH 播放器,而不是 silverlight。
我在 Azure 中有一个网站,其中有一个带有 Flash 播放器的页面。如果我在 VS 项目文件夹中包含 MP4 视频文件,它工作得很好,但是如果我将文件名更改为 BLOB 存储中相同视频文件的 URL,我会得到一个空白显示。视频是由我的客户制作和提供的,所以我不控制格式等。
在我的网页中,我有以下对象标签:
<object id="csSWF" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="704" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="VideoFileName_controller.swf" />
<param name="scale" value="showall" />
<param name="bgcolor" value="#1a1a1a" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="tocdoc=left&showsearch=true&autostart=false&autohide=true&xmp=VideoFileName_config.xml&content=https://BLAHBLAHBLAH.blob.core.windows.net/media/VideoFileName.mp4&thumb=FirstFrame.png&containerwidth=800&containerheight=704&smoothing=true&enablejsapi=true&fullscreen=true&windowbox=false&showbranding=false&showstartscreen=true&showendscreen=true&basecolor=272727&loop=false" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="VideoFileName_controller.swf" width="800" height="704">
<param name="scale" value="showall" />
<param name="bgcolor" value="#1a1a1a" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="tocdoc=left&showsearch=true&autostart=false&autohide=true&xmp=VideoFileName_config.xml&content=https://BLAHBLAHBLAH.blob.core.windows.net/media/VideoFileName.mp4&thumb=FirstFrame.png&containerwidth=800&containerheight=704&smoothing=true&enablejsapi=true&fullscreen=true&windowbox=false&showbranding=false&showstartscreen=true&showendscreen=true&basecolor=272727&loop=false" />
<!--<![endif]-->
<div id="noUpdate">
<p>The video content presented here requires JavaScript to be enabled in your browser and the latest version of the Adobe Flash Player installed. If you are using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Adobe Flash Player by <a href="http://www.adobe.com/go/getflashplayer">downloading here</a>. </p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>