1

我正在尝试使用 Flash 播放器从 url rtp://224.168.116.253:4568 流式传输实时视频有人可以告诉我如何将这个 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>
4

0 回答 0