balvinderz / video_player_web_hls

Supports hls on chrome and other browsers.
BSD 3-Clause "New" or "Revised" License
52 stars 61 forks source link

MEDIA_ERR_SRC_NOT_SUPPORTED #2

Closed wilssola closed 4 years ago

wilssola commented 4 years ago

Hello, even with the plugin I keep getting this error what can I do to fix it?

Uncaught (in promise) Error: PlatformException (MEDIA_ERR_SRC_NOT_SUPPORTED, No further diagnostic information can be determined or provided., The video has been found to be unsuitable (missing or in a format not supported by your browser).)

Thank you very much in advance!

balvinderz commented 4 years ago

did you add the script tag of hls.js ?

balvinderz commented 4 years ago

<script src="https://cdn.jsdelivr.net/npm/hls.js@latest" type="application/javascript"></script>

wilssola commented 4 years ago

Yes, I added it

balvinderz commented 4 years ago

Can you send me link that you are trying to play

wilssola commented 4 years ago

Here: https://firebasestorage.googleapis.com/v0/b/flybis.appspot.com/o/0SvPtKGRuJPEY7OFqzBBlaPUSBh2%2Fposts%2Fvideos%2F7e35b8d6-d457-4b4e-b53e-87b5f1a44a8d%2Fmaster.m3u8?alt=media&token=47a9f631-f068-4e7b-b758-76266871092b

balvinderz commented 4 years ago

try now . i updated the package. if you run this link on localhost , you will get cors error so disable that before trying.

rickbox commented 4 years ago

Thank you very much for making. I updated 0.1.3. I can play this link. https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8 But I can't play this link. https://storage.googleapis.com/gameclip-prod/videos/1202523991404998656/1202523991404998656.m3u8 Do you know why ?

balvinderz commented 4 years ago

Thank you very much for making. I updated 0.1.3. I can play this link. https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8 But I can't play this link. https://storage.googleapis.com/gameclip-prod/videos/1202523991404998656/1202523991404998656.m3u8 Do you know why ?

Because of CORS .

rickbox commented 4 years ago

Thank you.