我如何在html中将rtp:protocol作为src嵌入播放器?

时间:2012-08-03 17:31:57

标签: html streaming video-streaming flash rtp

我正在尝试从url rtp://224.168.116.253:4568流式传输实时视频使用Flash播放器可以有人告诉我,如何将此url参数作为src传递,我怎么能让它工作,我已经检查过了随着播放器播放器流畅地播放视频现在我想嵌入代码并在网络上显示它。

这是我正在处理的网页:

<html>
    <title>Live Streaming</title>
    <body>
        <OBJECT id='mediaPlayer1' width="480" height="550" 
                classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' 
                codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
                standby='Loading Microsoft Windows Media Player components...' type='application/x-    oleobject'>
            <param name='url' value="rtp://224.168.116.253:4568">
            <param name='fileName' value=url>
            <param name='animationatStart' value='true'>
            <param name='transparentatStart' value='true'>
            <param name='autoStart' value="true">
            <param name='showControls' value="true">
            <param name ="ShowAudioControls"value="true">
            <param name="ShowStatusBar" value="true">
            <param name='loop' value="false">
            <EMBED type='application/x-mplayer2'
                    pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
                    id='mediaPlayer' name='mediaPlayer' displaysize='6' autosize='1' 
                    bgcolor='darkblue' showcontrols="true" showtracker='1' 
                    showdisplay='1' showstatusbar='1' videoborder3d='1' width="420" height="380"
                    src="rtp://224.168.116.253:4568" autostart="true" designtimesp='5311' loop="true">
            </EMBED>
        </OBJECT>
        <br />
    </body>
</html>

0 个答案:

没有答案