homepage Welcome to WebmasterWorld Guest from 54.167.173.250
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

    
WMV and Firefox
FF cannot play embeded wmv file
d40sithui




msg:3547993
 6:51 pm on Jan 14, 2008 (gmt 0)

Hello all,
I have this code to embed a wmv video file on my site. IE can run it just fine. FF does not. Here is the source code(with URL edited). Am I doing something wrong?

<div style="float: right;align:left; margin-right: 5em; margin-left: 5em; margin-top: 4em; margin-bottom: 5px;z-index: -1; "> <embed src="http://www.somewebsite.com/myVideo.wmv" autostart="false" width="259" height="224"></embed> </div>

also, I can't seem to link wmv files via
<a href="http://www.somewebsite.com/myVideo.wmv">View</a>
FF always goes to a page and display weird characters. And it seems to use a lot of system resources after i click on ths link. it froze a few times.

 

d40sithui




msg:3548117
 9:06 pm on Jan 14, 2008 (gmt 0)

ok i got the first problem solved by moving the file to my own server. but still, if i post a link to a .WMV file and click on it using FF, it will display some weird chars and proceed to freeze.

jdMorgan




msg:3548164
 10:01 pm on Jan 14, 2008 (gmt 0)

Is your server returning the proper MIME-type for .wmv files in the Content-Type server response header?

For example, on one of my Apache servers, I use

AddType video/avi .avi
AddType video/mpeg .mpeg
AddType video/wmv .wmv

in my .htaccess file to support various video formats.

Jim

d40sithui




msg:3548737
 3:46 pm on Jan 15, 2008 (gmt 0)

Jim,
Thanks for the response. I tried that but it does not seem to work. I forgot to mention this detail earlier. When you click on the link to the wmv file with IE, you get the download box, but with FF the browser displays weird chars.

this is what my htaccess file looks like.

## 26 April for PostNuke
php_flag magic_quotes_gpc on
## USER IP BANNING
<Files *>
deny from 131.158.199.72
deny from 202.75.33.221
</Files>
AddType video/avi .avi
AddType video/mpeg .mpeg
AddType video/wmv .wmv

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved