开发者

How could I stream a video in my website?

I tried to stream a video from my browser using the object tag in HTML, but when I build the project, the video is not being played. Here is the piece of code:

<object id="Player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"> 
    <param name="autoStart" value="True"> 
    <param name="URL" value=" http://www.youtube.com/watch?v=PZZSsHQmz0E "/> 
    <param name="rate" value="1"/> 
    <param name="balance" value="0"/> 
    <param name="enabled" value="true"/> 
    <param name="enabledContextMenu" value="true"/> 
    <param name="fullScreen" value="false"/&开发者_JAVA百科gt; 
    <param name="playCount" value="1"/> 
    <param name="volume" value="100"/> 
</object>


You got share->embem button in youtube that tells you what to write for it to stream. for this video its:

<iframe width="425" height="349" src="http://www.youtube.com/embed/PZZSsHQmz0E"
    frameborder="0" allowfullscreen></iframe>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜