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 7875319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:57:49+00:00 2026-06-03T02:57:49+00:00

I want to embed video in html page sothat I can play any multimedia

  • 0

I want to embed video in html page sothat I can play any multimedia file from my hard drive or from a url.I tried to create a web page with

<video src="test.mp4" controls width="320" height="240">

</video>

In chrome,the video plays without any problem.
However,the mp4 file is not recognized in firefox .It displays error message- 'no video with supported format or mimetype found'.

It so happens that most of my video files are .mp4 or .flv files.

If I put
<source src="test.flv" /> in the video element ,then both chrome and firefox fail to show it.

So,what should I do to play at least mp4 and flv files in both browsers?.

Any pointers /advice most appreciated.

  • 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-06-03T02:57:50+00:00Added an answer on June 3, 2026 at 2:57 am

    From Mozilla’s page on browser-supported audio/video formats:

    The MPEG container format with the H.264 video codec and either the
    AAC audio codec or the MP3 audio codec is supported by Internet
    Explorer and Safari. Firefox and Opera do not support the format.
    Support for the format is deprecated in Chrome, and Chromium does not
    support it either.

    The MPEG media formats are covered by patents, which are not freely
    licensed. All the necessary licenses can be bought from MPEG LA. Since
    H.264 is currently not a royalty free format, it is unfit for the open
    web platform, according to Mozilla [1, 2], Google [1, 2] and Opera.

    Short answer, Firefox doesn’t support mp4, as it’s not open source. But it does support multiple sources and will play the first one it supports.

    Further, it doesn’t appear that swf or flv are supported by any browsers, since they are totally Adobe and require Flash Player, but the following should work around that:

    <video src="test.mp4" controls>
        <object data="test.flv" type="application/x-shockwave-flash">
          <param value="test.flv" name="movie"/>
        </object>
    </video>
    

    Be aware that the above had .swf file as data and value originally; I haven’t tested if .flv will work on its own.

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

Sidebar

Related Questions

I want to embed some video into my HTML page. As background I want
Hi i embed a video in my html page and i want to hide
I want to get all only youtube video ID from html code look the
I want to allow users to paste <embed> and <object> HTML fragments (video players)
I want to embed some youtube videos at my site using Video.Flash helper. Microsoft.Web.Helpers
I want to embed vimeo videos in my Vf page. I am trying to
I want to embed this gadget in my web page. That's why I use
I have an excel file that I want to embed in my C# assembly.
I am using strict doctype and i want to embed a page within a
I have this html code for embedding a video in an aspx page: <OBJECT

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.