This asset works in a similar fashion as the official VideoPlayer (
http://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html) component, but for WebGL only. If you are having issues playing videos with the standard video player on Safari or other browser(s), you came to the right place!
HIGHLIGHTS
- Play videos with spatial audio, especially useful for VR!
- Play m3u8 live stream videos!
- Play videos with transparency!
- 20 events available, official video player only supports 8.
- On par with Unity's video player speed, and in many circumstances, it is faster and plays smoothly while the official player lags.
- Supports playing videos locally or from external URL, including any kind of Blob URL (
https://developer.mozilla.org/en-US/docs/Web/API/Blob#creating_a_url_representing_the_contents_of_a_typed_array), URLs created with createObjectURL (
https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL_static) in general, and DataURL (
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs)!
Check out the technical details!
TRY IT! (
https://animated-faloodeh-a44db3.netlify.app/) (changing volume on mobile Safari doesn't work (
https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html)). You can check the docs here (
https://docs.google.com/document/d/1erHqq_V4pmavJ9isnqDB279018sUruIOWLlMuYRWYXE/edit?usp=drive_link).
MY OTHER PLUGINS
Want to capture webgl gameplay? Check out my new asset RecorderWebGL (
https://assetstore.unity.com/packages/slug/209191?aid=1011l5f3d&pubref=seo-landing-209191ools/utilities/recorder-webgl-209191).
Want to access geolocation on the web? Check out GeolocationWebGL (
https://assetstore.unity.com/packages/slug/199649?aid=1011l5f3d&pubref=seo-landing-199649ools/integration/geolocationwebgl-199649).
Want to access your webcam without hurdles? Check out DeviceCameraWebGL (
https://assetstore.unity.com/packages/slug/180966?aid=1011l5f3d&pubref=seo-landing-180966ools/camera/devicecamerawebgl-180966).
Want to use gyroscope on the web? Check GyroscopeAccelerometerWebGL (
https://assetstore.unity.com/packages/slug/176394?aid=1011l5f3d&pubref=seo-landing-176394ools/integration/gyroscopeaccelerometerwebgl-176394).
Want to download/share videos, images, etc? Check out ShareNSaveWebGL (
https://assetstore.unity.com/packages/slug/181122?aid=1011l5f3d&pubref=seo-landing-181122ools/integration/sharensavewebgl-181122).
Want to vibrate your phone on the web? Check out VibrationWebGL (
https://assetstore.unity.com/packages/slug/201020?aid=1011l5f3d&pubref=seo-landing-201020ools/utilities/vibrationwebgl-201020).
Want to use the calendar on the web? Check out CalendarEventWebGL (
https://assetstore.unity.com/packages/slug/186234?aid=1011l5f3d&pubref=seo-landing-186234ools/integration/calendareventwebgl-186234).
Want to upload files into Unity? Check out File Browser WebGL (
https://assetstore.unity.com/packages/slug/216296?aid=1011l5f3d&pubref=seo-landing-216296ools/utilities/file-browser-webgl-216296).
Want to check when your web app paused? Check out OnPauseWebGL (
https://assetstore.unity.com/packages/tools/integration/onpausewebgl-216948).
Want to sign in with Google? Check out GSI Sign In WebGL (
https://assetstore.unity.com/packages/slug/217671?aid=1011l5f3d&pubref=seo-landing-217671ools/integration/google-sign-in-webgl-217671).
Want to make image AR experiences on the web? Check out Augmented Reality WebGL - Image Tracking WebAR (
https://assetstore.unity.com/packages/slug/241386?aid=1011l5f3d&pubref=seo-landing-241386ools/integration/augmented-reality-webgl-image-tracking-webar-241386).
Want to make Face AR VTO experiences on the web? Check out MediaPipe for Unity Web (
https://af.unity.com/sr/camref:1101lTyGI/destination:https%3A%2F%2Fassetstore.unity.com%2Fpackages%2Ftools%2Fintegration%2Fmediapipe-for-unity-web-ai-face-tracking-computer-vision-ar-363720)
Want to use SQL o
Description sourced from the Unity Asset Store listing.