开发者

How could I stream a video in my website?

开发者 https://www.devze.com 2023-03-23 20:40 出处:网络
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:

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

精彩评论

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