Giter Club home page Giter Club logo

webview's Introduction

WebView

SHORT DESCRIPTION:

Efficient UE browser uses CEF open source kernel; When the frame rate is 60 per second and the resolution is 4K, a single GPU is rendered, and the UE and browser will not lose frames. 8K frame rate does not decrease under multi GPU binding.It is the highest performance UE browser at present.

LONG DESCRIPTION:

WebView is an enterprise browser plug-in designed for virtual engine. It uses many advanced technologies. It doesn't drop frames when browsing the web or watching video. The kernel adopts the latest CEF version and optimizes it. It has GPU binding function, supports the separation of game and browser rendering, adds rendering cache inside the plug-in, and the rendering effect is smooth. In terms of communication with web pages, V8 technology is adopted to make the Unreal Engine interact with web pages in real time. It is recommended to use unreal engine to render the scene and JavaScript for UI interaction, which can greatly improve the efficiency of system development.

Features:

  1. Support h264, h265, AV1 video codec
  2. Various video websites, such as youtube and bilibili
  3. Webrtc access cloud rendering
  4. Webrtc online voice and video
  5. H5, HTTPS, CSS and JavaScript
  6. UE4 and JavaScript call each other
  7. Mouse event transparent background page, mouse penetration transparency can be adjusted
  8. Page navigation
  9. debugging JavaScript using chrome tools
  10. mouse drag
  11. input method conversion
  12. ctrl + scroll wheel zoom page
  13. load custom protocols on the web page, such as SVN
  14. 8K video 60fps without frame dropping
  15. GPU binding separates virtual engine and browser rendering
  16. Local domain name resolution
  17. Scale page
  18. 120 frame rate does not drop frames

CefBase Dependent:

  1. https://github.com/aSurgingRiver/CefBase

Using tutorials

https://github.com/aSurgingRiver/WebView/wiki https://www.youtube.com/channel/UCUUFUwaMi5-naF0PZMU9mxg

Important/Additional Notes:

We are committed to providing the most efficient browser plug-in. If you have any questions in the process of using, you can contact us through the following ways.

FaceBook: https://www.facebook.com/ue.webview/
Email: [email protected] [email protected]
QQ Group: 866972317
QQ: 249838628
Wechat: aSurgingRiver

webview's People

Contributors

asurgingriver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webview's Issues

一点建议

1:只看到windows版本,有android和ios版本吗?
2:为什么不提供js和C++直接交互?cef本身就有这个功能的呀!

你好,Windows 4.27打包失败,PrecompileForTargets = PrecompileTargetsType.Any

UATHelper: Packaging (Windows (64-bit)): Parsing headers for UnrealPak UATHelper: Packaging (Windows (64-bit)): Running UnrealHeaderTool "D:\Epic\Project\cmdc\cmdc_jiangxi\cmdc_jiangxi.uproject" "D:\Epic\Project\cmdc\cmdc_jiangxi\Intermediate\Build\Win64\UnrealPak\Development\UnrealPak.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Epic\harix\427\harix-u e4-engine\Engine\Programs\AutomationTool\Saved\Logs\UHT-UnrealPak-Win64-Development.txt" UATHelper: Packaging (Windows (64-bit)): LogInit: Display: Loading text-based GConfig.... UATHelper: Packaging (Windows (64-bit)): Reflection code generated for UnrealPak in 0.2934399 seconds UATHelper: Packaging (Windows (64-bit)): Writing manifest to C:\Epic\harix\427\harix-ue4-engine\Engine\Intermediate\Build\Manifest.xml UATHelper: Packaging (Windows (64-bit)): Target is up to date UATHelper: Packaging (Windows (64-bit)): Total execution time: 1.23 seconds UATHelper: Packaging (Windows (64-bit)): Took 1.2921182s to run UnrealBuildTool.exe, ExitCode=0 UATHelper: Packaging (Windows (64-bit)): Running: C:\Epic\harix\427\harix-ue4-engine\Engine\Binaries\DotNET\UnrealBuildTool.exe cmdc_jiangxi Win64 Development -Project=D:\Epic\Project\cmdc\cmdc_jiangxi\cmdc_jiangxi.uproject D:\Epic\Project\cmdc\cmdc_jiangxi\cmdc_jiangxi.uproject -NoUBTMakefiles -remoteini="D:\Epic\Project\cmdc\cmdc_jiangxi" -skipdeploy -Ma nifest=C:\Epic\harix\427\harix-ue4-engine\Engine\Intermediate\Build\Manifest.xml -NoHotReload -log="C:\Epic\harix\427\harix-ue4-engine\Engine\Programs\AutomationTool\Saved\Logs\UBT-cmdc_jiangxi-Win64-Development.txt" UATHelper: Packaging (Windows (64-bit)): Using 'git status' to determine working set for adaptive non-unity build (D:\Epic\Project\cmdc). UATHelper: Packaging (Windows (64-bit)): Parsing headers for cmdc_jiangxi UATHelper: Packaging (Windows (64-bit)): Running UnrealHeaderTool "D:\Epic\Project\cmdc\cmdc_jiangxi\cmdc_jiangxi.uproject" "D:\Epic\Project\cmdc\cmdc_jiangxi\Intermediate\Build\Win64\cmdc_jiangxi\Development\cmdc_jiangxi.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Epic\harix\427\h arix-ue4-engine\Engine\Programs\AutomationTool\Saved\Logs\UHT-cmdc_jiangxi-Win64-Development.txt" UATHelper: Packaging (Windows (64-bit)): LogInit: Display: Loading text-based GConfig.... UATHelper: Packaging (Windows (64-bit)): Reflection code generated for cmdc_jiangxi in 6.4134026 seconds UATHelper: Packaging (Windows (64-bit)): ERROR: Missing precompiled manifest for 'CefBrowser'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in CefBrowser.build.cs to override. PackagingResults: Error: Missing precompiled manifest for 'CefBrowser'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in CefBrowser.build.cs to override. UATHelper: Packaging (Windows (64-bit)): Took 7.4884117s to run UnrealBuildTool.exe, ExitCode=6 UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool failed. See log for more details. (C:\Epic\harix\427\harix-ue4-engine\Engine\Programs\AutomationTool\Saved\Logs\UBT-cmdc_jiangxi-Win64-Development.txt) UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=6 (6) UATHelper: Packaging (Windows (64-bit)): BUILD FAILED PackagingResults: Error: Unknown Error

UE5 Preview 1

Upon adding the UWebViewWidget to UMG I get the error:
CoreWebLog: Error: FCefBrowserSingleton::CreateBrowserWindow timeout.

In game, the browser window is stuck at "loading page".

don't find license file

'UnrealEditor.exe' (Win32): Loaded 'C:\Program Files\Epic Games\UE_5.0\Engine\Plugins\Runtime\AR\Google\GoogleARCore\Binaries\Win64\UnrealEditor-GoogleARCoreBase.dll'.
[2024.02.22-14.13.05:114][ 0]WebViewLog: Version publish date [01:37:01 Feb 19 2024]
[2024.02.22-14.13.05:115][ 0]WebViewLog: don't find license file
[2024.02.22-14.13.05:115][ 0]WebViewLog: Load license state 0
'UnrealEditor.exe' (Win32): Loaded 'C:\Windows\System32\wbem\wbemprox.dll'.
'UnrealEditor.exe' (Win32): Loaded 'C:\Windows\System32\wbemcomn.dll'.
'UnrealEditor.exe' (Win32): Loaded 'C:\Windows\System32\wbem\wbemsvc.dll'.
'UnrealEditor.exe' (Win32): Loaded 'C:\Windows\System32\wbem\fastprox.dll'.
'UnrealEditor.exe' (Win32): Loaded 'C:\Windows\System32\amsi.dll'.
'UnrealEditor.exe' (Win32): Loaded 'C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.23110.3-0\MpOAV.dll'.
[2024.02.22-14.13.06:675][ 0]WebViewLog: local machine code diskid{3989PSD8T - 0100_0000_0000_0000_8CE3_8E04_005F_CBED.}
[2024.02.22-14.13.06:676][ 0]WebViewLog: local machine code cpu{178BFBFF00810F81}
[2024.02.22-14.13.06:676][ 0]WebViewLog: local machine code board{KA41NRCV006HUEMB}
[2024.02.22-14.13.06:677][ 0]WebViewLog: local machine code mac{04:D4:C4:E9:E9:7A - C0:E4:34:1B:9C:20 - C0:E4:34:1B:9C:21}
Exception thrown at 0x00007FF8AFC5CF19 (KernelBase.dll) in UnrealEditor.exe: 0xC06D007E: Module not found (parameters: 0x000000AC0DE0F0A0).
Unhandled exception at 0x00007FF8AFC5CF19 (KernelBase.dll) in UnrealEditor.exe: 0xC06D007E: Module not found (parameters: 0x000000AC0DE0F0A0).

4.27.2打开报错

我下载4.27包放入Plugins目录下,第一次打开会编译。
但是当编译完成打开后有个报错,然后也用不了这个view这个功能。
abc123

`LoginId:d1babf2c45969a071557418df91dac5e
EpicAccountId:6a25a04e24eb42f08974ca072399523a

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x0000000000000010

ntdll
libcef
libcef
libcef
libcef
UE4Editor_CefBrowser
UE4Editor_CefBrowser
UE4Editor_CefBrowser
UE4Editor_CefBrowser
UE4Editor_CefBrowser
UE4Editor_WebView!UWebBase::RebuildWidget() [E:\Hanleon\Projects\2022_Projects\Research Development\AR Space\PixelStreaming2\Plugins\WebView-4.27\Source\WebView\Private\WebBase.cpp:95]
UE4Editor_UMG
UE4Editor_UMG
UE4Editor_UMG
UE4Editor_UMG
UE4Editor_UMGEditor
UE4Editor_UMGEditor
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
user32
user32
UE4Editor_ApplicationCore
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll`

UnrealEditor.exe has triggered a breakpoint. and stacked in 75%

Fatal error: [File:G:\plugin\build\product\WebView_6099_Win64_UE_5.0_20240219\HostProject\Plugins\WebView\Source\CefBrowser\Private\WidgetWrap\CefBrowserSingleton.cpp] [Line: 374]
FCefBrowserSingleton::InitInter Plugins={Bridge|../../../Engine/Plugins/Bridge *** disable plugin
FastBuildController|../../../Engine/Plugins/FastBuildController
MeshPainting|../../../Engine/Plugins/MeshPainting
XGEController|../../../Engine/Plugins/XGEController
AISupport|../../../Engine/Plugins/AI/AISupport
EnvironmentQueryEditor|../../../Engine/Plugins/AI/EnvironmentQueryEditor
Paper2D|../../../Engine/Plugins/2D/Paper2D
AnimationModifierLibrary|../../../Engine/Plugins/Animation/AnimationModifierLibrary
ControlRig|../../../Engine/Plugins/Animation/ControlRig
ControlRigSpline|../../../Engine/Plugins/Animation/ControlRigSpline
BlendSpaceMotionAnalysis|../../../Engine/Plugins/Animation/BlendSpaceMotionAnalysis
IKRig|../../../Engine/Plugins/Animation/IKRig
LiveLink|../../../Engine/Plugins/Animation/LiveLink
CameraShakePreviewer|../../../Engine/Plugins/Cameras/CameraShakePreviewer
GameplayCameras|../../../Engine/Plugins/Cameras/GameplayCameras
OodleNetwork|../../../Engine/Plugins/Compression/OodleNetwork
AnimationSharing|../../../Engine/Plugins/Developer/AnimationSharing
CodeLiteSourceCodeAccess|../../../Engine/Plugins/Developer/CodeLiteSourceCodeAccess
CLionSourceCodeAccess|../../../Engine/Plugins/Developer/CLionSourceCodeAccess
GitSourceControl|../../../Engine/Plugins/Developer/GitSourceControl
KDevelopSourceCodeAccess|../../../Engine/Plugins/Developer/KDevelopSourceCodeAccess
PerforceSourceControl|../../../Engine/Plugins/Developer/PerforceSourceControl
PixWinPlugin|../../../Engine/Plugins/Developer/PixWinPlugin
PluginUtils|../../../Engine/Plugins/Developer/PluginUtils
PlasticSourceControl|../../../Engine/Plugins/Developer/PlasticSourceControl
PropertyAccessNode|../../../Engine/Plugins/Developer/PropertyAccessNode
RiderSourceCodeAccess|../../../Engine/Plugins/Developer/RiderSourceCodeAccess
TextureFormatOodle|../../../Engine/Plugins/Developer/TextureFormatOodle
SubversionSourceControl|../../../Engine/Plugins/Developer/SubversionSourceControl
TraceDataFilters|../../../Engine/Plugins/Developer/TraceDataFiltering
UObjectPlugin|../../../Engine/Plugins/Developer/UObjectPlugin
VisualStudioCodeSourceCodeAccess|../../../Engine/Plugins/Developer/VisualStudioCodeSourceCodeAccess
XCodeSourceCodeAccess|../../../Engine/Plugins/Developer/XCodeSourceCodeAccess
AssetManagerEditor|../../../Engine/Plugins/Editor/AssetManagerEditor
VisualStudioSourceCodeAccess|../../../Engine/Plugins/Developer/VisualStudioSourceCodeAccess
CryptoKeys|../../../Engine/Plugins/Editor/CryptoKeys
CurveEditorTools|../../../Engine/Plugins/Editor/CurveEditorTools
NullSourceCodeAccess|../../../Engine/Plugins/Developer/NullSourceCodeAccess
EditorDebugTools|../../../Engine/Plugins/Editor/EditorDebugTools
FacialAnimation|../../../Engine/Plugins/Editor/FacialAnimation
GameplayTagsEditor|../../../Engine/Plugins/Editor/GameplayTagsEditor
MacGraphicsSwitching|../../../Engine/Plugins/Editor/MacGraphicsSwitching
DataValidation|../../../Engine/Plugins/Editor/DataValidation
EditorScriptingUtilities|../../../Engine/Plugins/Editor/EditorScriptingUtilities
GeometryMode|../../../Engine/Plugins/Editor/GeometryMode
MaterialAnalyzer|../../../Engine/Plugins/Editor/MaterialAnalyzer
MobileLauncherProfileWizard|../../../Engine/Plugins/Editor/MobileLauncherProfileWizard
SequencerAnimTools|../../../Engine/Plugins/Editor/SequencerAnimTools
PluginBrowser|../../../Engine/Plugins/Editor/PluginBrowser
WorldPartitionHLODUtilities|../../../Engine/Plugins/Editor/WorldPartitionHLODUtilities
DatasmithContent|../../../Engine/Plugins/Enterprise/DatasmithContent
SpeedTreeImporter|../../../Engine/Plugins/Editor/SpeedTreeImporter
VariantManagerContent|../../../Engine/Plugins/Enterprise/VariantManagerContent
AutomationUtils|../../../Engine/Plugins/Experimental/AutomationUtils
BackChannel|../../../Engine/Plugins/Experimental/BackChannel
ChaosCloth|../../../Engine/Plugins/Experimental/ChaosCloth
ChaosClothEditor|../../../Engine/Plugins/Experimental/ChaosClothEditor
ChaosNiagara|../../../Engine/Plugins/Experimental/ChaosNiagara
ChaosSolverPlugin|../../../Engine/Plugins/Experimental/ChaosSol
UnrealEditor.exe has triggered a breakpoint.

你好dalao,我通过我的vue调用webview中的jstoue.js文件出现个参数未定义错误,我个人能力不足以解决这个问题,下面是vue报错

Uncaught ReferenceError: ue is not defined
at eval (ue4WebUI.js?2e9e:9:1)
at Module../src/ue4/ue4WebUI.js (app.js:2087:1)
at webpack_require (app.js:849:30)
at fn (app.js:151:20)
at eval (main.js:20:72)
at Module../src/main.js (app.js:2015:1)
at webpack_require (app.js:849:30)
at fn (app.js:151:20)
at Object.1 (app.js:2184:18)
at webpack_require (app.js:849:30)

这个ue4WebUI是使用jsToUe.js中的方法的

分辨率缩放问题

你好,目前刚接手一个公司项目,用到了webview。

但是有一种奇怪的现象:当分辨率变化时,webview会先跟着缩放,然后网页内容回弹成原本的分辨率,而不会自适应。

目前我对项目细节仍未十分了解,请问这种现象是webview本身的机制或选项所致吗?如果是的话,能否规避

工程打开直接报错

现有工程, 打开到75%会直接弹框报错关闭.

相关log:
[2022.08.16-10.22.38:429][ 0]LogWindows: Failed to load '[工程路径]/Plugins/WebView/Source/ThirdParty/cefForUe/cef_103.5060/win64/lib/libcef.dll' (GetLastError=126)
[2022.08.16-10.22.38:429][ 0]LogWindows: File '[工程路径]/Plugins/WebView/Source/ThirdParty/cefForUe/cef_103.5060/win64/lib/libcef.dll' does not exist
[2022.08.16-10.22.38:429][ 0]CoreWebLog: Error: Failed to get CEF3 DLL handle for [工程路径]/Plugins/WebView/Source/ThirdParty/cefForUe/cef_103.5060/win64/lib/libcef.dll: The system cannot find the file specified.

逐个commit checkout, 发现问题在6fb5796650d7e4dd01307fb5c24f919bff821897. 暂时没时间继续深入了.

-C

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.