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 6 of 6
  1. #1
    New Coder
    Join Date
    Aug 2010
    Posts
    57
    Thanks
    26
    Thanked 0 Times in 0 Posts

    How to display a ".mov" video?

    I would like to know the correct way to display a “.mov” video in an html 4.01 Strict page.

    In fact my page displays the video perfectly in Mac Safari and Firefox, but the Validator flunks it on multiple counts, and I want all my code to validate.

    Here’s the code. I’ve found it in several top instructional sites and copied straight into my page:

    Code:
    <div id="photo-box">
        <embed src="my-movie.mov"   width="640"   height="496"   autostart="false" >   
        <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="496" width="640">
        <param name="src" value="my-movie.mov">
        <param name="autoplay" value="false">
        <param name="type" value="video/quicktime" height="496" width="640">
        </embed>
    </div>
    The Validator says:

    -- element “EMBED” undefined
    -- these are not attributes for the EMBED element: “SRC” “WIDTH” “HEIGHT” “AUTOSTART”

    which makes no sense to me.

    (Comment: My Mac Safari and Firefox both display the page when I use only that first <embed> line, omitting the <object> and <param> lines, but I've read that those lines are needed for PC. In my Mac, including those lines makes no difference in how the page displays.)

    The Validator suggests using a Transitional doctype, but with 4.01 Transitional it returns all the same errors.

    Can someone tell me what's needed to do to display a “.mov” file in a 4.01 Strict page?

    Thank you.

    .

  • #2
    Regular Coder jdswebservice's Avatar
    Join Date
    Aug 2010
    Location
    Moon Township, PA
    Posts
    107
    Thanks
    0
    Thanked 5 Times in 5 Posts
    As you can see here in this list, the embed tag no longer is in use.

    http://www.w3schools.com/tags/default.asp

    I would suggest just using the object and param tags. If you need more information visit these sites.

    http://www.w3schools.com/tags/tag_param.asp
    http://www.w3schools.com/tags/tag_object.asp

    Thanks,
    J-

  • #3
    New Coder
    Join Date
    Aug 2010
    Posts
    57
    Thanks
    26
    Thanked 0 Times in 0 Posts

    Thank you

    Thanks. Very helpful.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    This actually might help you more as its geared towards a quick time movie.

    http://realdev1.realise.com/rossa/re...quicktime.html

    Keep in mind that not everyone has quicktime installed and that I recommend that you convert to .flv or another format that can be played with flash and then find a flash video player. The www.longtailvideo.com one has a decent player that I've used for years. Its not free for commercial sites though.
    Last edited by _Aerospace_Eng_; 08-08-2010 at 06:01 AM.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Regular Coder jdswebservice's Avatar
    Join Date
    Aug 2010
    Location
    Moon Township, PA
    Posts
    107
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by _Aerospace_Eng_ View Post
    This actually might help you more as its geared towards a quick time movie.

    http://realdev1.realise.com/rossa/re...quicktime.html

    Keep in mind that not everyone has quicktime installed and that I recommend that you convert to .flv or another format that can be played with flash and then find a flash video player. The www.longtailvideo.com one has a decent player that I've used for years. Its not free for commercial sites though.
    I believe that you're right in saying that you should convert to .flv format as this is the generic now a days for simple quicktime movie stuff... If you need a converter i would suggest

    http://www.any-video-converter.com/p...or_video_free/

    I hope this helps you on your endeavors.

    J-

  • #6
    New Coder
    Join Date
    Aug 2010
    Posts
    57
    Thanks
    26
    Thanked 0 Times in 0 Posts

    Thank you

    All these responses are really helpful, and much appreciated.

    Thank you.


  •  

    Posting Permissions

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