balvinderz/video_player_web_hls

Can't play videos in Android chrome mobile browser

shashikiran918 opened this issue · 16 comments

mobile chrome web : error description : PlatformException(MEDIA_ERR_SRC_NOT_SUPPORTED, PIPELINE_ERROR_EXTERNAL_RENDERER_FAILED), The video has been found to be unsuitable (missing or in a format not supported by your browser)., null) ,
video player not intializing it's throwing null how to resolve these issue ?

Is it working when using this plugin or not working when using this plugin?

it is working in desktop chrome and not working in mobile chrome web
using : video_player_web_hls: ^1.0.0+2

Hey I am working right now. Will check this issue on weekends

ok sure waiting for your reply :)

can you share the video url

How to test then :/

try to test in mobile device chrome :)
In ios devices
chrome : working
safari : working
problem is in android chrome devices only

can you disable CORS for this url. Not able to test it on chrome mobile

url will not work on your local host

my url not working in firefox , opera , edge mobile browsers it throwing same error in above screenshot.

@shashikiran918 I am also facing the same issue. The streaming works fine in desktop browsers, but not in android chrome. Did you find any solution?
@balvinderz How can I help to resolve this problem?

@balvinderz I think I somewhat found the root cause. The problem is, android chrome uses native HLS library for playback. If we force the library not to take adroid native HLS support, the player works. Can we make this a configurable option? I made a small change in the code and now it works fine on android devices as well
image

@soorajlv I was struggling to get it to play on my Android mobile browser, and this article finally solved it.
Thank you.

@soorajlv thanks for resolving @sgbai78's issue but we can't add a config parameter for this since we are extending video_player_platform_interface and we cannot make changes there just for this library.