Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Integration
1/3
WebGL video player based on HTML5 video element, that works across standalone and mobile browsers - Safari, Chrome, Firefox, etc.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.8f1
Compatible
Compatible
Compatible
Description

This plugin allows you to play any video in Unity WebGL build across mobile and standalone browsers. Unity's builtin VideoPlayer struggles with A/V on WebGL builds especially on mobile devices. This package uses HTML5 native video elements to load the video source and exposes the video AV with basic controls to Unity. You can use video URLs either from StreamingAssets path or external web servers (permissing CORS).


Test the project demo here.


This package has been tested across following platforms - iOS, Mac, Android, and Windows with following browsers - Chrome, Safari, Firefox and Brave.

Technical details

While minimal, the plugin aims to be a complete video player for web across browsers and platforms. Key features include:

- Start, Stop, Pause, Resume, (Un)Mute, APIs along with respective callback events.

- Resampling of source video texture to preserve aspect ratio or arbitrarly stretch to match target texture size.

- Fetch and set video player timestamps.

- Supports both in-built and scriptable rendering pipeline.


If you find any limitation or want to request new feature, please submit an issue here on git repo. This package is meant for WebGL platform and you're encouraged to stick with Unity's default VideoPlayer for other native platforms. Thus it's also recommended to switch to WebGL platform from "Build Settings" before importing/installing this package to avoid any editor errors.

WebGL Video Player

(6)
29 users have favourite this asset
(29)
FREE
License type
File size
3.5 MB
Latest version
1.0.2
Latest release date
Jul 17, 2024
Original Unity version
2021.3.8
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR