Hi,
I loaded a few YouTube videos in the MiniBrowser demo and I could hear sound.
Perhaps that web page uses proprietary audio codecs like AAC.
Try other web browsers with that web page to see if everything else is working correctly.
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
OldCEF4Defphi can't play sound?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: OldCEF4Defphi can't play sound?
I tried that web page with MiniBrowser and started playing a game of "Go".
With the MiniBrowser found in the latest CEF4Delphi version I could hear a woman's voice when I made placed the pieces on the board.
However, when I tried the MiniBrowser demo from OldCEF4Delphi I couldn't hear anything.
I opened the DevTools in the MiniBrowser and there were many errors in the Console tab like these :
With the MiniBrowser found in the latest CEF4Delphi version I could hear a woman's voice when I made placed the pieces on the board.
However, when I tried the MiniBrowser demo from OldCEF4Delphi I couldn't hear anything.

I opened the DevTools in the MiniBrowser and there were many errors in the Console tab like these :
- Uncaught TypeError : window.myfunc is not a function
- Uncaught (in promise) DOMException : Unable to decode audio data
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: OldCEF4Defphi can't play sound?
That's correct.
You can register a JavaScript extension that can be used to send a process message with the sound that must be played.
Make sure Windows XP can play that audio format or install the necessary codecs with your application.
You can register a JavaScript extension that can be used to send a process message with the sound that must be played.
Make sure Windows XP can play that audio format or install the necessary codecs with your application.