Video Player WebGL

Marks

(29)
$151
Publisher Marks
File size 0.96MB
Number of files 25
Latest version 1
Latest release date 2024-01-23 03:30:27
First release date 2021-04-02 02:24:14
Supported Unity versions 2018.4.2 or higher

NEW IN 1.73


HLS (.m3u8) playback is now possible by integrating a free third party library with my plugin. More information in the docs.


NEW IN 1.6


Audio panning and downmixing to mono. You can use these features to create spatial audio, and use it on Web VR! An example script that implements spatial audio is included for your convenience, special thanks to @Matt Foreman who provided it.


SUMMARY


This asset works in a similar fashion as the official VideoPlayer component, but for WebGL only. It does everything you'd expect from a video player, and is packed with more events than the official API. If you are having issues playing videos with the standard video player on Safari or other browser(s), you came to the right place!


Follow the requirements of the docs. Use PlayPointerDown or UnlockVideoPlayback on a pointerdown event so that it also works on iOS Safari.


See technical details below.


MY OTHER PLUGINS


Want to capture webgl gameplay? Check out my new asset RecorderWebGL.

Want to access geolocation on the web? Check out GeolocationWebGL.

Want to access your webcam without hurdles? Check out DeviceCameraWebGL.

Want to use gyroscope on the web? Check GyroscopeAccelerometerWebGL.

Want to download/share videos, images, etc? Check out ShareNSaveWebGL.

Want to vibrate your phone on the web? Check out VibrationWebGL.

Want to use the calendar on the web? Check out CalendarEventWebGL.

Want to upload files into Unity? Check out File Browser WebGL.

Want to check when your web app paused? Check out OnPauseWebGL.

Want to sign in with Google? Check out GSI Sign In WebGL.

Want to make image AR experiences on the web? Check out Augmented Reality WebGL -‎‎‏ Image Tracking WebAR.


If you are having trouble updating to the latest version of the plugin, delete it from the cache first %AppData%\Unity\Asset Store-5.x\Marks\ . Unity fails to import the latest plugin version sometimes.


If you like my plugin, please consider leaving a review. It helps me immensely and encourages me to improve the plugin further, and other people to support my work :).

Top Publisher Assets