2

I have used HTML5 for displaying a video. My code is

<video tabindex="0" autobuffer="" poster="" height="380" width="600">
    <source src="media/video.mp4" type="video/mp4">
    <source src="media/video.webm" type="video/webm">
    <source src="media/video.ogg" type="video/ogg">
    <img alt="Film Poster" src="" height="380" width="600">
</video>

But this is not displaying in safari browser...

What is the problem?

nfechner
  • 17,295
  • 7
  • 45
  • 64
Shamsher
  • 1,761
  • 4
  • 21
  • 30

1 Answers1

1

Try changing the .ogg file extension to .ogv (both actual file and in the html sources)
Take a look at some of the answers here

Community
  • 1
  • 1
Ofir Farchy
  • 7,657
  • 7
  • 38
  • 58