Jump to content

<object> Tag Issue In Firefox


toreachdeepak

Recommended Posts

Hi,The below code works on IE7/Firefox 3<object type="video/x-ms-wmv" data="c:\caves_320_240_512kbps.wmv" width="320" height="255"> <param name="src" value="c:\caves_320_240_512kbps.wmv"> <param name="autoStart" value="1"> alt : <a href="c:\caves_320_240_512kbps.wmv">test.wmv</a></object>But if I change path relative to the apache server, then it doesn't work in Firefox 3 but works file in IE7<object type="video/x-ms-wmv" data="https://10.0.2.6/sample/web/images/caves_320_240_512kbps.wmv" width="320" height="255"> <param name="src" value="c:\caves_320_240_512kbps.wmv"> <param name="autoStart" value="1"> alt : <a href="https://10.0.2.6/sample/web/images/caves_320_240_512kbps.wmv">test.wmv</a></object>ThanksDeepak Bhatia

Link to comment
Share on other sites

The reason it still works in Internet Explorer is because you keps this line:

<param name="src" value="c:\caves_320_240_512kbps.wmv">

Are you sure you have the URL correct in the data attribute?

Link to comment
Share on other sites

The reason it still works in Internet Explorer is because you keps this line:
<param name="src" value="c:\caves_320_240_512kbps.wmv">

Are you sure you have the URL correct in the data attribute?

Hi,Yes I have checked the URL, it is correct. May be I need to recheck again.<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="160" height="170"><param name="FileName" value="https://localhost/sample/web/images/niceday.wmv" /><!-- for standards compliant browsers --><object type="video/x-ms-wmv"data="https://localhost/sample/web/images/niceday.wmv" width="160" height="170">Object not loaded</object><!-- // --></object>
Link to comment
Share on other sites

There's nothing more I can do to help you. The only thing that could be going wrong with the code is that the URL is incorrect.Maybe you didn't have apache on at the time you tested, maybe you're opening the file from your desktop and you have the server configured not to give content to external viewers, maybe your server isn't actually using the https:// protocol.Since I can't actually test it there myself, I can't do more than make guesses.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...