play video

Post Reply
bobpang
Posts: 13
Joined: Fri Feb 14, 2020 2:38 pm

play video

Post by bobpang »

I have a project , when play those videos that will prompt "The media could not be loaded, either because the server or network failed or because the format is not supported."
Is there any way we can monitor when a video is playing, use the system default browser to open it ?
User avatar
salvadordf
Posts: 4089
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: play video

Post by salvadordf »

Hi,

There's no easy way to know that. I would recommend you build the CEF binaries with proprietary codecs following this guide :
https://www.briskbard.com/forum/viewtopic.php?t=1097

If it's a new project, consider switching to WebView4Delphi because it can play those videos natively.
Post Reply