erinyskim
erinyskim

Reputation: 1

How to play HLS video in ChromeCast?

I want to run video(HLS) from chromecast.

succeeded to run mp4 but.. Video Tag m3u8 not play..

<center>
<video src="bipbop/bipbopall.m3u8" controls autoplay ></video>
</center>

https://developers.google.com/cast/docs/reference/player/

Upvotes: 0

Views: 2182

Answers (1)

Ali Naddaf
Ali Naddaf

Reputation: 19034

It is recommended to use Media Player Library to do that. You have a choice of using either a Styled Receiver or the Default receiver, or if none satisfies your needs, you can roll out your own custom receiver. The first two receivers use the Media Player Library and you may want to use that same library if you decide to go with your own custom receiver, as well.

There are a number of sample projects on our GitHub repo that show you how that can be done, please refer to those to see some code samples.

Upvotes: 1

Related Questions