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.
screen
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: screen
If you need to share the screen you can set GlobalCEFApp.EnableMediaStream to true. Read this for more information :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=910
If you need to enable the "Picture-In-Picture" feature in YouTube then I'm not sure it can be done with CEF.
The official "Picture-In-Picture" API is here :
https://w3c.github.io/picture-in-picture/
According to this web page you need to enable several flags :
https://blog.arnellebalane.com/the-pict ... 415372009f
There are several live demos :
https://picture-in-picture-video.arnelle.me/
https://ananyaneogi.github.io/picture-in-picture-demo/
https://googlechrome.github.io/samples/ ... n-picture/
I did a quick search and I didn't find any information about this feature in CEF but I would like to dig a little deeper and test all those flags... but right now I don't have time to do that.
https://www.briskbard.com/forum/viewtopic.php?f=8&t=910
If you need to enable the "Picture-In-Picture" feature in YouTube then I'm not sure it can be done with CEF.
The official "Picture-In-Picture" API is here :
https://w3c.github.io/picture-in-picture/
According to this web page you need to enable several flags :
https://blog.arnellebalane.com/the-pict ... 415372009f
There are several live demos :
https://picture-in-picture-video.arnelle.me/
https://ananyaneogi.github.io/picture-in-picture-demo/
https://googlechrome.github.io/samples/ ... n-picture/
I did a quick search and I didn't find any information about this feature in CEF but I would like to dig a little deeper and test all those flags... but right now I don't have time to do that.

Re: screen
No, I just need a screenshot of the browser area so that it is saved in the folder
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: screen
A browser in normal mode and without hardware acceleration can take a screenshot with the TChromium.TakeSnapshot function. See the MiniBrowser demo for an example.
If you use a browser in OSR mode then call TBufferPanel.SaveToFile. See the SimpleOSRBrowser demo for an example.
If you use a browser in OSR mode then call TBufferPanel.SaveToFile. See the SimpleOSRBrowser demo for an example.
Re: screen
A browser in normal mode and without hardware acceleration can take a screenshot with the TChromium.TakeSnapshot function. See the MiniBrowser demo for an example.
спасибо очень помог
спасибо очень помог