silvermine / videojs-chromecast

MIT License
148 stars 75 forks source link

Chromecast didn't work with hls #141

Closed Impre-visible closed 1 year ago

Impre-visible commented 1 year ago

Hi, I want to chromecast my movies, so I use your plugin, and when I choose to chromecast, on my tv, it's loading, and on my nav console, I have all the data, but, I have nothing else, it's loading, in the infinity, here's m chrome.cast.media.tb json :

{
    "contentId": "/mainMovie/298",
    "streamType": "BUFFERED",
    "contentType": "application/x-mpegURL",
    "metadata": {
        "type": 0,
        "metadataType": 0
    },
    "duration": null,
    "tracks": [
        {
            "trackId": 0,
            "trackContentId": "/chunkCaption/Unknown/4/298.vtt",
            "trackContentType": "text/vtt",
            "type": "TEXT",
            "name": "fre",
            "subtype": "SUBTITLES",
            "customData": null
        },
        {
            "trackId": 1,
            "trackContentId": "/chunkCaption/Unknown/5/298.vtt",
            "trackContentType": "text/vtt",
            "type": "TEXT",
            "name": "fre",
            "subtype": "SUBTITLES",
            "customData": null
        }
    ],
    "textTrackStyle": null,
    "customData": null
}

I don't know where's the probleme, maybe the contentUrl ?. If you have an idea, I take it

kontrollanten commented 1 year ago

Hi! As far as I know HLS isn't currently supported, this will be solved by #118