本文介绍了在Web应用程序中播放视频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是我的播放视频代码.它在所有浏览器中都可以很好地运行,但是在客户端系统驱动程序(例如编解码器)中无法安装其不播放视频.
因此,如何在不安装任何驱动程序和插件的情况下在我的Web应用程序中播放视频文件.
请帮帮我.
Hi,
Here is my code for play video.Its run very well in all browser but in client system Driver (eg. codec) not install its not play video.
So how to play video file in my web application for without install any driver and plugin.
Please help me.
<html>
<head>
<title> The Page Title Goes Here </title>
</head>
<body>
<!-- BEGIN GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA PLAYER -->
<object id="MediaPlayer1" width="180" height="200"
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" align="middle">
<param name="FileName" value="\\Apps\users\SEJAL\172.mp4" />
<param name="ShowStatusBar" value="True" />
<param name="DefaultFrame" value="mainFrame" />
<param name="autostart" value="false" />
<embed type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
src="\\Apps\users\172.mp4"
autostart="false"
align="middle"
width="176"
height="144"
defaultframe="rightFrame"
showstatusbar="true">
</embed>
</object>
<a href="\\Apps\users\172.mp4"><font size="2">Clickhere for standalone player</font></a>
<a href="http://www.microsoft.com/windows/windowsmedia/mp10/default.aspx">
<font size="1">Download Windows Media Player Here</font></a>/xml>
推荐答案
这篇关于在Web应用程序中播放视频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!