Computing.Net > Forums > Web Development > embeded avi file in wmp

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

embeded avi file in wmp

Reply to Message Icon

Name: USMC
Date: January 17, 2005 at 21:21:39 Pacific
OS: xp
CPU/Ram: 512
Comment:

hey I have a question, when I host a web page and try to play an avi file it plays it with quicktime, is there a way to that same file play with wmp? thanks



Sponsored Link
Ads by Google

Response Number 1
Name: USMC
Date: January 17, 2005 at 21:56:01 Pacific
Reply:

by the way I need it to work under firefox


0

Response Number 2
Name: Khalid
Date: January 17, 2005 at 22:48:12 Pacific
Reply:

You dont provide any details about your code, so it is hard to say what is wrong.

First of all, I think you are using the <embed>-tag, wich is not part of HTML or XHTML, but only supported by internet explorer and netscape. You should use the <object>-element instead.

If you are using the object-element, (or the embed-element), you should know that the browser (client) decides wich plugin should be loaded in order to handle the media (or other) data that is linked with the object-element.
You can advise the browser however with the atrribute 'codeType'. Set the value of this attribute to a specific mime-type:
http://www.iana.org/assignments/media-types/

Dont forget to include some code between the object-elements to provide information to browsers that dont support the object-element like:
<object codeType="application" data="file.avi">
<p\>Sorry, you're browser doesnt support objects\</p>
</object>



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Website hosted on LAN ensure https used for apr...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: embeded avi file in wmp

pdf files in Tomcat (on linux) www.computing.net/answers/webdevel/pdf-files-in-tomcat-on-linux/2620.html

export data to Excel file in JSP www.computing.net/answers/webdevel/export-data-to-excel-file-in-jsp/1662.html

PHP: Counting files in a directory. www.computing.net/answers/webdevel/php-counting-files-in-a-directory/2341.html