Object tag is not working


I want to use the HTML tag to play the video file in my browser. I have tried with object tag as well as embed tag. Both the things are not working for me. When I was using object tag my browser screen got flickering but the video is not playing.

Is there any way way to solve the problem? How can play the video file in browser?

My code:

<html> <object data="flash.mpeg" type="application/x-shockwave-flash" width="800" height="550"> <param name="MOVIE" value="flash.mpeg"> </object> </html>


The appropriate mime type for MPEG video is "video/mpeg". Try that instead of "application/x-shockwave-flash" and it should work, provided you have the appropriate codec installed.


  • JButton is drawing behind an image
  • On hover show DIV flicker
  • Javascript Image Reloading; flickers
  • WS_EX_COMPOSITED causes endless repainting when restoring form from minimize state
  • Add a div to replace Video after Video Plays Through
  • Are there any supported high bit-depth video or image formats in DirectShow
  • Converting raw frames into webm live stream
  • Build Matrix of Comparisons in SQl Server
  • SIP API media codecs
  • Create function that can pass a parameter without making a new component
  • What is the difference between a “service account” and an “installed application”?
  • Alamofire and Reachability.swift not working on xCode8-beta5
  • How can we prepend rows to a react native list-view?
  • Application level floating views with navigation in Android
  • Clear fused location provider's location for testing
  • AndEngine Applying Transparancy to AndEngine View
  • Using a canvas object in a thread to do simple animations - Java
  • Limiting recursion to certain level - Duplicate rows
  • Record samples being played with OpenAL
  • Avoid links criss cross / overlap in d3.js using force layout
  • How would I use PHP exceptions to define a redirect?
  • Controls, properties, events and timers running in design time
  • Running a C# exe file
  • Join two tables and save into third-sql
  • How to model a transition system with SPIN
  • Adding custom controls to a full screen movie
  • ORA-29908: missing primary invocation for ancillary operator
  • Matrix multiplication with MKL
  • retrieve vertices with no linked edge in arangodb
  • Acquiring multiple attributes from .xml file in c#
  • Hits per day in Google Big Query
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • File not found error Google Drive API
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • How can I remove ASP.NET Designer.cs files?
  • costura.fody for a dll that references another dll
  • Observable and ngFor in Angular 2
  • UserPrincipal.Current returns apppool on IIS
  • Converting MP3 duration time
  • java string with new operator and a literal