Results 1 to 5 of 5

Thread: Need videohelp

  1. #1
    Join Date
    Feb 2012
    Location
    Denmark
    Posts
    66
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Need videohelp

    Hi, there.

    I'm making a website for my local theater, and they want to have a video of some activity on the theater.
    I've converted the video so I have: mp4, Webm and swf on the server.

    I've used this:
    HTML Code:
    <video width="600" height="400" controls>
                  <source src="/video/oj_stav.mp4" type="video/mp4">
                  <source src="/video/oj_stav.webm" type="video/webm">
                      <object data="/video/oj_stav.mp4" width="600" height="400">
                        <embed src="/video/oj_stav.swf" width="600" height="400">
                      </object>
                </video>
    But in Firefox it says:
    No video with supported format and MIME type found

    How come it doesn't work?
    I've read, that Firefox should be able to show mp4....

    Can you please help?
    Thanks
    Last edited by Mejse78; 02-17-2013 at 10:12 PM.

  2. #2
    Join Date
    Nov 2009
    Posts
    107
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Default

    It does not look like Firefox supports the MP4 format.

    Some info

    http://www.w3schools.com/html/html5_video.asp

    http://en.wikipedia.org/wiki/HTML5_v...rowser_support

    Perhaps a solution?

    http://support.mozilla.org/en-US/questions/696321

    Good Luck.

  3. #3
    Join Date
    Feb 2012
    Location
    Denmark
    Posts
    66
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Thanks
    I have the Webm file... but it doesn't show...

    The last link - about the solution.. there's something I don't understand.
    Maybe someone can help?
    I needed to configure my server to deliver html5 formats. This requires a .htaccess file. You can put it in any directory and it will not effect directories above, just within that folder or below. It is simple a txt file that has code like this:


    AddType video/mp4 mp4 m4v
    AddType audio/mp4 m4a
    AddType video/ogg ogv
    AddType audio/ogg ogg oga
    AddType video/webm webm


    Make sure that when it is uploaded, it is renamed to not include the .txt. The file name should be .htaccess Let me know if you have questions with this. I have been pulling my hair out over this for weeks and am so happy to finally have it playing on Firefox. Hope this helps....
    What is .htaccess?
    Is it just a text file?
    How do one incorporate this to a page?
    Must I link to it?

    Thanks

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    2,027
    Thanks
    16
    Thanked 315 Times in 313 Posts
    Blog Entries
    13

    Default

    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  5. #5
    Join Date
    Feb 2012
    Location
    Denmark
    Posts
    66
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Thank you SO much!!!

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
  •