- various improvements to the framework
- improved fullscreen script: CrWG_Player.pb
- added fullscreen script: CrWG_TabBar.pb
--------------------------------Edgar Allan Poe Suspense Essay wrote:“Sleep, those little slices of death — how I loathe them.” ― Edgar Allan Poe.
Code: Select all
#Cr_WebGadget_Override_Profile_Location
#Cr_WebGadget_Override_Default_Browser
#Cr_WebGadget_Override_User_Agent
#Cr_WebGadget_Override_Language_Code
#Cr_WebGadget_Override_Network_Warning
#Cr_WebGadget_Override_Camera_Prompt
#Cr_WebGadget_Enable_Guest_Account
#Cr_WebGadget_Enable_Zero_Account
#Cr_WebGadget_Enable_Multiple_Tabs
#Cr_WebGadget_Enable_Screen_Support
#Cr_WebGadget_Enable_Dark_Mode
#Cr_WebGadget_Enable_Night_Mode
#Cr_WebGadget_Idle_Timeout_Minutes
#Cr_WebSocket_Listen_Port_Number
#Cr_WebSocket_Listen_Port_Random
#Cr_WebSocket_Override_Port_InUse
#Cr_WebSocket_Enable_DevTools_Protocol
#Cr_WebSocket_Enable_DevTools_Events
#Cr_WebSocket_Enable_DevTools_Debugger
Code: Select all
Enumeration
#MainWindow
EndEnumeration
#Cr_WebSocket_Enable_DevTools_Protocol = #False
IncludeFile "..\Shared Files\includes\Cr_WebGadget.pbi"
If OpenWindow(#MainWindow, 0, 0, 800, 500, "Chromium WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
crwg_data.CrWG_DATA
crwg_data\Container = Cr_WebGadget(0, 0, 800, 500, #MainWindow)
crwg_data\StartURL = "https://www.youtube.com"
Cr_WebGadget_Init(crwg_data, #PB_Compiler_Filename)
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_Event_CloseWindow
Cr_WebGadget_Close(crwg_data\hWnd)
Break
EndSelect
ForEver
EndIf