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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:14:56+00:00 2026-06-15T18:14:56+00:00

I am developing php pages for mobile, in one page i have to display

  • 0

I am developing php pages for mobile, in one page i have to display video,
now i am testing the php page in google chrome, but in Google chrome not playing mp4,avi,etc. chrome playing only ogg and ogv format.

I heard about ffmpeg, i installed in my Ubuntu 12.4 environment,
but it is also not converting to videos to ogg and ogv fromat.
it converting other format like mp4,avi,ect.

Displaying video using

 <video width="320" height="240" controls="controls" autoplay="true">
  <source src="/SeeSayDo/<?php echo $model->av;?>" />
</video>

user may uploads any video format like avi,mp4,flv,etc, so i have to display any format they uploaded.

  • 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-15T18:14:58+00:00Added an answer on June 15, 2026 at 6:14 pm

    You shouldn’t be trying to play an AVI in a web browser ever. The formats that you should use in the HTML5 video tag are H.264 and Ogg/Theora (and maybe WebM), and that will get you the most coverage of supported browsers (see http://caniuse.com/#search=video for supported browsers/formats).

    You will have to detect the browser and/or device and choose the proper video format.

    Read this for help converting your videos.

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

Sidebar

Related Questions

i'm developing a php page that manage the access to some pubs.... right now
I've been developing PHP pages for several weeks now and am getting much more
I m developing a php site for mobile phones. It's home page has images
The site I am developing in php makes many MySQL database requests per page
I'm developing web page which has main file index.php as follows: include('UserClass.php'); include('html/top.php'); $user
Currently developing a PHP framework and have ran into my first problem. I need
I've been developing with PHP for some years now, and recently came across this
I am developing pages in php dynamically i.e data gets filled up from mysql
I am developing with CakePHP and this is my Page Controller: <?php class PagesController
I am developing a mobile app and I am now getting to the stage

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.