Click here to Skip to main content
15,915,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
<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>
Posted
Updated 7-Nov-11 22:26pm
v2

1 solution

Check this out C# Movie Player[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900