com.nfynt.wvp

1.0.1 • Public • Published

Unity Web Video Player

npm version "Buy Me A Coffee"

A video player plugin for Unity WebGL applications. Unity's builtin VideoPlayer generally doesn't work for WebGL or is not supported on mobile browsers. This package uses Web-native video elements to read the video source and exposes the basic video controls to Unity. You can use video URLs either from StreamingAssets path or web servers (permissing CORS). Video controls include - Start, Stop, Pause, Resume, (Un)Mute, and respective events within the editor. This package supports in-editor playing as well using Unity's VideoPlayer.

Importing in Unity

To install this package in Unity you'll first have to add a new Scoped Registry. Head over to Edit>Project Settings>Package Manager and add the new registry details as follows -

Name: npmjs
URL: https://registry.npmjs.org
Scope(s): com.nfynt

After this head to Window>Package Manager and select My Registries under the Packages: options. This will list all the available package on npm, find Web Video Player and select the latest version available and hit install 🚀.

Project Demo

Issues

Submit issues on Github Repo with appropriate label as bug\enhancement\help wanted.

Authors

Shubham

Package Sidebar

Install

npm i com.nfynt.wvp

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

4.03 MB

Total Files

42

Last publish

Collaborators

  • nfynt