toreachdeepak Posted February 28, 2009 Share Posted February 28, 2009 Hi,I studied about the OBJECT Html tag, in your website "http://www.w3schools.com/media/media_object.asp"and tried the "Try it Yourself"http://www.w3schools.com/media/tryit.asp?f..._videoaviobjectin both Internet Explorer and Firefox. IE it worked fine but not on Firefox.Kindly help me in resolving this.ThanksDeepak Bhatia Link to comment Share on other sites More sharing options...
Ingolme Posted February 28, 2009 Share Posted February 28, 2009 The tutorial has it wrong.That is an Internet-Explorer-specific code.This code should work on all browsers: <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="160" height="170"><param name="FileName" value="http://www.ananova.com/about/vap_windows_check.wmv" /> <!-- for standards compliant browsers --> <object type="video/x-ms-wmv" data="http://www.ananova.com/about/vap_windows_check.wmv" width="160" height="170"> Object not loaded </object> <!-- // --></object> Link to comment Share on other sites More sharing options...
toreachdeepak Posted February 28, 2009 Author Share Posted February 28, 2009 Hi,Thanks for your reply.We are using Symfony Framework for development using Apache/MySQL/PHP. When I specify the path of wmv file as given below, the wmv file plays on IE7 but not Firefox 3. Please help me in this regard.<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 More sharing options...
Synook Posted March 1, 2009 Share Posted March 1, 2009 Do you see "object not loaded" in FF? Link to comment Share on other sites More sharing options...
toreachdeepak Posted March 1, 2009 Author Share Posted March 1, 2009 Do you see "object not loaded" in FF?Hi,The problem is solved after I replaced https by http as given below.Now I am using "http://localhost/sample/web/images/niceday.wmv" rather than "https://localhost/sample/web/images/niceday.wmv"==================================================================<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="160" height="170"><param name="FileName" value="http://localhost/sample/web/images/niceday.wmv" /><!-- for standards compliant browsers --><object type="video/x-ms-wmv"data="http://localhost/sample/web/images/niceday.wmv" width="160" height="170">Object not loaded</object><!-- // --></object>==================================================================ThanksDeepak Bhatia Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.