I wanted to learn the CEF4Delphi component and came across a problem. CEF4Delphi does not play all videos from the YouTube site. Normal videos play normally but no live streams. Please me help in this problem. (Used: Delphi - Rad Studio 10.1 Berlin). I apologize for the English. I used machine translation google.
program Project2;
uses
Vcl.Forms,
WinApi.Windows,
uCEFApplication,
Unit2 in 'Unit2.pas' {Form2};
{$R *.res}
{$SETPEFLAGS IMAGE_FILE_LARGE_ADDRESS_AWARE}
begin
GlobalCEFApp := TCefApplication.Create;
if GlobalCEFApp.StartMainProcess then
begin
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TForm2, Form2);
Application.Run;
end;
GlobalCEFApp.Free;
end.
.
procedure TForm2.Button1Click(Sender: TObject);
begin
Chromium1.LoadURL('https://www.youtube.com/watch?v=dI4jr5HyuT0');
end;
procedure TForm2.FormCreate(Sender: TObject);
begin
Chromium1.CreateBrowser(CEFWindowParent1);
end;