You are currently viewing 2D WebView for WebGL (Web Browser IFrame)

2D WebView for WebGL (Web Browser IFrame)

Easily display and interact with web content in 2D using the web browser plugin trusted by many developers. Try the demo here and see the developer site for full documentation.

Due to browser limitations, this package has significant limitations compared to the other 3D WebView packages. Please see this page for the full list of limitations.

?  Load a webpage from a URL or HTML string

?  Watch videos and YouTube embeds

<>  Create UIs with HTML

⚡️  Get started fast with the 2D CanvasWebViewPrefab

• C# source code for a unified API that works seamlessly across Android, iOS, Windows, macOS, WebGL, and UWP / Hololens

• Powered by the HTML <iframe> element

• Comprehensive API for controlling the browser and listening to browser events (see this page for limitations)

• Execute JavaScript

• Send messages from JavaScript to C# and vice versa

• View PDFs

• Also includes extra platform-specific APIs

• Supports transparent pages

Examples

• 3D WebView’s included CanvasWebViewDemo scene