Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    May 2003
    Location
    South Wales, UK
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with Opera

    I have been asked to put some video clips on a school website. The site is xhtml1.1 compliant, so using the embed tags is a no-no! I have worked on this all morning and the code below works great in IE, Netscape and Firefox. Opera unfortunately is using the code for IE but only displaying the alt image -it won't play the video. I am totally perplexed as to why the other browsers will play the movie but not Opera - can anyone help me out here please?


    Code:
    <!--[if !IE]> Firefox and others will use outer object -->
          <object data="/movies/MVC-011V.MPG" type="video/quicktime" 
                  width="160" height="128" class="imageleft" >
    			  <param name="controller" value="true"/>
       			  <param name="autoplay" value="false"/>
          <!--<![endif]-->
            <!-- MSIE (Microsoft Internet Explorer) will use inner object --> 
            <object 
      classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
      codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="160" height="128" class="imageleft" >
        <param name="src" value="/movies/MVC-011V.MPG"/>
        <param name="controller" value="true"/>
        <param name="autoplay" value="false"/>
        <img src="/graphics/midi-image.jpg" width="160" height="128" alt="A movie of smoothies being made" />
             </object> 
          <!--[if !IE]> close outer object -->
          </object>
          <!--<![endif]-->
    Thank you very much indeed!
    Diane

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,037
    Thanks
    0
    Thanked 250 Times in 246 Posts
    May not solve your problem as the object is a flash and not an mpg movie but may give you some ideas.

    http://www.alistapart.com/articles/flashsatay/

  • #3
    New Coder
    Join Date
    May 2003
    Location
    South Wales, UK
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you, but no, that's not the answer. I'm familiar with the Flash satay method, which is mainly where this bit
    Code:
    <object data="/movies/MVC-011V.MPG" type="video/quicktime" 
                  width="160" height="128" class="imageleft" >
    			  <param name="controller" value="true"/>
       			  <param name="autoplay" value="false"/></object>
    originates from. I tried that code all by itself to start with with poor results in the non IE browsers.
    Thank you for your idea though - I could easily have missed something really simple!
    Diane

  • #4
    New Coder
    Join Date
    May 2003
    Location
    South Wales, UK
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, I'll be damned! The video is now working - and I haven't changed the code! It hasn't worked all day, so i don't what on earth has happened to persuade it to play ball!

    Thanks anyway!
    Last edited by Diane; 05-20-2005 at 03:09 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •