Search code examples
linuxfirefoxhtmlmpeg

Can i play mpeg files in linux


I am trying to play video in browser. I use 'embed' tag in HTML.

The problem is, i am trying with a browser in linux, but i dont have the plugin installed in the browser(firefox). When i click ' install missing plugins', it says error saying unable to install.

Is it because mpeg file can't be played in linux? Please help


Solution

  • No, it is because there isn't a suitable plugin in the browser's database of known plugins. I believe VideoLan Client has a plugin that could cope with it.

    If you want to do video on the web, then you are generally best off either simply going down the Flash route, or providing the video in WebM and h.264 and using the <video> element (usually with Flash as a backup for older versions of IE). This has the added benefit of being much more bandwidth efficient than MPEG 1 video.