Results 1 to 10 of 10

Thread: html5 video

  1. #1
    Join Date
    Jan 2008
    Posts
    441
    Thanks
    67
    Thanked 4 Times in 4 Posts

    Default html5 video

    so it looks like safari will play h.264 or .mp4 video format but FF will only play .ogv files without flash.
    HTML Code:
     <video> 
        <source src="assets/dizzy.mp4" /> 
        <source src="assets/dizzy.ogv" /> 
      </video> 
    cananyone suggest the most direct way to convert mp4 files to ogv format please

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Google "flv to ogv converter".
    However, be warned that it won't be easy to find a program for free. You might find one, but flv is hard to work with and not supported by most programs so your choices will be limited. And OGG is VERY rarely supported overall. You might be able to convert to a middle format then get it to ogv.

    This isn't yet a good option, really. Use flash or an embedded plugin like quicktime until the standards of HTML5 are worked out and you can actually use this with one format. For now it's just asking for trouble, I think. (Of course I think it's a great idea if there is finally a cross-browser way to play video/audio, but it's not yet ready so we must wait a little longer.)
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jan 2008
    Posts
    441
    Thanks
    67
    Thanked 4 Times in 4 Posts

    Default

    thanks for the reply, im not using flv however. this conversation was to avoid any flash elements.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Oh, sorry. I misread the above info. The same goes for ogg-- not supported well at all. mp4 is fairly well supported by programs that use quicktime and perhaps a bit more. But it's not "easy" to work with-- somewhere in the middle. And mp4 can be protected (I believe) so it might be hard if you didn't create all the files.
    So same as I said above, but .mp4 is easier to work with than .flv. Not sure why I misread that earlier. Hope this helps.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    HTML Code:
    <object data="assets/dizzy.mp4" type="video/mpeg" width="320" height="255">
      <param name="src" value="assets/dizzy.mp4">
      <param name="autoplay" value="false">
      <param name="autoStart" value="0">
      alt : <a href="assets/dizzy.mp4">assets/dizzy.mp4</a>
    </object>
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  6. #6
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by djr33 View Post
    Google "flv to ogv converter".
    However, be warned that it won't be easy to find a program for free. You might find one, but flv is hard to work with and not supported by most programs so your choices will be limited. And OGG is VERY rarely supported overall. You might be able to convert to a middle format then get it to ogv.

    This isn't yet a good option, really. Use flash or an embedded plugin like quicktime until the standards of HTML5 are worked out and you can actually use this with one format. For now it's just asking for trouble, I think. (Of course I think it's a great idea if there is finally a cross-browser way to play video/audio, but it's not yet ready so we must wait a little longer.)
    The video and other associated 'media' tags, are far from being complete. They're being updated and discussed within the whatwg and w3c working groups.

  7. #7
    Join Date
    May 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by BLiZZaRD View Post
    HTML Code:
    <object data="assets/dizzy.mp4" type="video/mpeg" width="320" height="255">
      <param name="src" value="assets/dizzy.mp4">
      <param name="autoplay" value="false">
      <param name="autoStart" value="0">
      alt : <a href="assets/dizzy.mp4">assets/dizzy.mp4</a>
    </object>
    Thanks.

  8. #8
    Join Date
    Apr 2010
    Location
    UK
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default html5 video

    Hi
    I read your class and you have done a very nice job. Tank you so much for sharing HTML class05.
    I learn lot of things of HTML from this class.

  9. #9
    Join Date
    Jun 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    you done very good job. i also learn HTML like you.

  10. #10
    Join Date
    Mar 2009
    Posts
    74
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    eRightsoft - "Super" can and will convert every audio/video format to any new audio/video format. I use it for all of the video converting I do.

    It's super powerful and the cool thing is, it's free.

Bookmarks

Posting Permissions

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