我有以下的code发挥的QuickTime播放器在网页本身RTSP流,而无需打开外部的视频播放器。
I have the following code to play rtsp stream in quicktime player in the webpage itself without opening external video player.
<OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width="320" height="240" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>
<param name='src' value="rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov">
<param name='autoplay' value="true">
<param name='controller' value="false">
<param name='loop' value="false">
<EMBED src="rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov" width="320" height="240" autoplay="true"
controller="true" loop="false" bgcolor="#000000" pluginspage='http://www.apple.com/quicktime/download/'>
</EMBED>
</OBJECT>
这起很好的桌面,但不是在Android设备。我只看到一个奇怪的图标,播放机不安装。
This plays well in desktop but not in android devices. I only see a weird icon and player is not setup.
Android设备可能有自己的本土球员。这样你只需要提供一个链接到视频将自动打开,并在本地播放器播放视频。
Android devices may have their own native player. As such you just need to provide a link to the video which will automatically open and play the video in the native player.