STeN
STeN

Reputation: 6268

Desktop Safari browser and HTTP Live streaming

I suppose the Safari browser is supporting the HLS. I quickly tried it but streaming was not started - Is anything wrong with mycode?

<html>
<head> 
  <title>HTTP Live Streaming</title>
</head>

<body>
<video controls src="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8">
</video>

</body>
</html>

I am using the Windows version of the Safari browser 5.0.3.

Thanks STeN

Upvotes: 6

Views: 10479

Answers (2)

Paulo Capelo
Paulo Capelo

Reputation: 1092

I was reading the apples documentation and I found that you can define alternate sources

https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/AudioandVideoTagBasics/AudioandVideoTagBasics.html#//apple_ref/doc/uid/TP40009523-CH2-SW1l

something like this:

    <!DOCTYPE html>

<html>

   <head>

      <title>Multi-Scheme Video Player</title>

   </head>

   <body>

      <video controls autoplay >

             <source src="http://HttpLiveStream.m3u8">

             <source src="rtsp://LegacyStream.3gp">

             <source src="http://ProgressiveDownload.m4v">

      </video>

  </body>

</html>

You could try it with just one source.

But I also found some information suggesting to use httlive:// instead of http://

Upvotes: 0

WB2ISS
WB2ISS

Reputation: 286

HTTP Live Streaming is supported on Safari on Mac through Quicktime X which is available on Snow Leopard and Lion. Quicktime 7 is also used on Mac for media functions that are not yet available in Quicktime X. On Windows, Quicktime 7 is available but not Quicktime X. So Safari on Windows does not support HTTP Live Streaming.

Upvotes: 6

Related Questions