Cannot play video with latest cefclient.exe

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Cannot play video with latest cefclient.exe

Postby barryhsf » Sun Feb 14, 2021 9:53 pm

Hi,
I got the following error message while playing video with cefclient.exe
Message: Uncaught (in promise) NotSupportedError: Failed to load because no supported source was found.

Source: file:///C://work//videoPlayer//h5//1612549889dist-02060126//dist//index.html#/

Line: 0

but it works fine with Chrome and Edge.

Any idea about this?

Thanks!
barryhsf
Newbie
 
Posts: 6
Joined: Fri Feb 12, 2021 11:25 pm

Re: Cannot play video with latest cefclient.exe

Postby amaitland » Sun Feb 14, 2021 10:01 pm

Only freely available audio/video codecs are supported by default. Is your video h264/aac? (usually mp4 extension). If so then it's not supported.

You can load https://html5test.com/ in the browser to see what it's capable of.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: Cannot play video with latest cefclient.exe

Postby ndesktop » Mon Feb 15, 2021 3:58 am

Also http://demo.nimius.net/video_test/ is helpful, albeit loads pretty slowly.
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am

Re: Cannot play video with latest cefclient.exe

Postby barryhsf » Thu Feb 18, 2021 2:58 am

Thank you all,
Yes, this is a H264 video.
barryhsf
Newbie
 
Posts: 6
Joined: Fri Feb 12, 2021 11:25 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 20 guests