Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6147745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:09:24+00:00 2026-05-23T19:09:24+00:00

Im try to play a video by HTML5 with the follow code on localhost

  • 0

Im try to play a video by HTML5 with the follow code on localhost :

<html>
<head>
<meta charset="utf8">
    <title>HTML5 &lt;video&gt; content negotiation test</title>
</head>
<body>
</body>
<video src="Firefox.ogv"  autoplay="true" controls="true">
      Your browser does not support the <code>video</code> element.
</video>
</html>

it work perfectly with Chrome,
http://imageshare.web.id/images/60h5p00ixmetpyerd7w.jpg

but why it not work with firefox
http://imageshare.web.id/images/4bky59ruk8djra8wtmp.jpg

i Host it on IIS7 and this is my web.config

    <staticContent>
        <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
        <mimeMap fileExtension=".ogv" mimeType="video/ogv" /> 
    </staticContent>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T19:09:25+00:00Added an answer on May 23, 2026 at 7:09 pm

    It could be a problem with the way your MIME types are set up in your .htaccess file you may need to add the following to enable .ogv to be displayed properly

    AddType video/ogg .ogv
    

    Firefox tends not to play .ogg video if the mime type is incorrect!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I try to play a video on the server with this code. I have
inside index.html.erb there is the following code <video width=320 height=240 controls=controls> <source src=truffle1.mp4/> Your
while creating a video player using html5 i try to load the video from
i'm using the brilliant MediaElement.js library to play video. However, i want to try
How to Play Video on OnCreate Method? I Used Following code for that.But The
When I try and play a 3GP video with VideoView the following error occurs:
I'm trying to play a video file with this code: MediaController mc = new
I want to play video in VideoView . When I try to do that
When I try to play video from m.youtube.com I get an error: an error
i try to off a sound effect on my app play method is '

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.