2
Answers

vedio is not playing in firefox what is the problem with my code.

i am playing one .wmv file in my asp.net web page it is work fine in IE browser but it is not working in FireFox what is the problem with the following code.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="vedio.aspx.cs" Inherits="vedio" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">

<title>Untitled Page</title>

    <style type="text/css">
        #win1
        {
            height: 238px;
            width: 371px;
        }
    </style>

</head>

<body>

<form id="form1" runat="server">


<div>

<table>

<tr>

<td>

<asp:LinkButton ID="demo1" runat="server" Text="Love 2008"></asp:LinkButton>


</td>

</tr>

<tr>

<td>

<%-- For Not IE --%>

<object id="win1" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" >

<param name="AutoStart" value="0"/>
<param name="Filename" value= "niceday.wmv"/>

</object>

</td>

</tr>

<tr>

<td>

Video File (Demo)

</td>

</tr>

</table>


</div>

</form>

</body>

</html>

Answers (2)