本文介绍了如何在谷歌浏览器中播放视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用此代码在asp.net中播放视频.......但是我在使用Google chrome浏览器中播放视频时遇到了问题.....此代码在mozilla上有效. .....
i am using this code to play video in asp.net.......but i have a problem to play a video in google chrome..........this code works on mozilla......
<object type="video/x-ms-wmv" data="video\video.mpeg" width="420" height="340">
<param name="url" value="video\video.mpeg"/>
<param name="src" value="video\video.mpeg" />
<param name="autostart" value="true" />
<param name="sound" value="false" />
<param name="controller" value="true" />
</object>
我可以做什么.........请帮助我
这种编码也可以在mozilla浏览器中使用
wat can i do.......pls help me
this coding is also working in mozilla browser
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
.style1
{
height: 216px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<object height="320px" width="240px" type ="video/x-ms-wmv">
<param name="src" value="video\video.mpeg" />
</object>
</div>
</form>
</body>
</html>
为什么编码在chrome浏览器中无法使用.........
why the coding is not working in chrome browser.........
推荐答案
<embed id='embed1' runat="server" name='mediaPlayer' type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' src="video\video.mpeg" filename="video\video.mpeg" displaysize='4' autosize='-1' bgcolor='darkblue' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width='500' height='405' designtimesp='5311' loop='false'>
</embed>
这篇关于如何在谷歌浏览器中播放视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!