Html5播放器无需插件

时间:2016-10-30 09:10:58

标签: javascript html5 video-streaming html5-video web-deployment

请帮助我们这是我的代码,它在我的PC浏览器上工作正常,但它需要插件来播放它。我搜索并尝试了很多方法来播放这个链接直播视频,但所有这些都失败了。这是在PC浏览器上播放频道的唯一代码,我需要有人帮助我或重新编写代码,以便可以在PC和移动设备浏览器上播放。

<html>
<head>
</head>
<body>

<object id='mediaPlayer1' width="640" height="360"
  classid='clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6'
  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='fileName' value="http://168.187.49.14:8080" />
  <param name='animationatStart' value='true' />
  <param name='transparentatStart' value='true' />
  <param name='autoStart' value="false" />
  <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='4' autosize='-1'
  bgcolor='darkblue' showcontrols="true" showtracker='-1'
  showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="640" height="360"
  src="http://168.187.49.14:8080" autostart="true" designtimesp='5311' loop="false"> </embed>
  </object>

</body>
</html>

0 个答案:

没有答案