Skip to main content
Known Participant
December 14, 2012
Question

HDS to HTML5 Video Object Problem

  • December 14, 2012
  • 1 reply
  • 6706 views

I'm currently using FMS 4.5 to stream live webcam video via HLS to the HTML5 Video object with no problem. However, when I try streaming via HDS, it doesn't work - the video never loads. I can see the video in the sample player included with the server so I know that the fragments are being created and can be played. I just don't understand why it is not playable in the HTML5 Video object.

This works for iOS devices:

<source src="http://myserver/hls-live/myapp/myinstance/myevent/mystreamname.m3u8" >

This does not work in Chrome on my desktop:

<source src="http://myserver/hds-live/myapp/myinstance/myevent/mystreamname.f4m" >

Any help is appreciated!

    This topic has been closed for replies.

    1 reply

    Petro_O__Bochan
    Inspiring
    December 15, 2012

    Hello, chances are, if you are on win machine, Chrome doesn’t support html5. Better try this, it has always worked for me:















    Let us know if it worked.

    Known Participant
    December 15, 2012

    Chrome on Windows will play a recorded clip using the HTML5 Video Object playing an MP4 (which is a recorded video made from the live stream).  It's the live stream that doesn't work. It that still a limitation of the HTML5 Video object?

    Also, I'm not sure what you were trying to display in the post above. All I see is an empty box. Was something else supposed to be there?

    Thanks!

    Petro_O__Bochan
    Inspiring
    December 16, 2012

    Yes, this was a snippet of code:

    ]]>

    --