Skip to content

A basic video player made for VRChat using Udon and UdonSharp

License

Notifications You must be signed in to change notification settings

NishaWolfe/USharpVideo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USharpVideo

A basic video player made for VRChat using Udon and UdonSharp. Supports normal videos and live streams.

image

See the Wiki for more info on advanced configuration and tips + guides

Features

  • Allows master only/everyone lock toggle for video playing
  • Video seeking and duration info
  • Pause/Play
  • Loop video button
  • Shows master and the last person to play a video
  • Default playlist that plays when entering the world
  • Stream player
  • Support for YouTube timestamped URL's (youtube.com?v=<video>&t=<seconds>)
  • Volume slider
  • Reload button
  • Supports YouTube link resolution in the editor the same as in VRC

Installation

  1. Install the latest VRCSDK and latest release of UdonSharp
  2. Install the latest release
  3. Drag the USharpVideo prefab into your scene, resize to fit
  4. Optionally bake realtime GI for the scene

There is also an example scene with the video player setup with lightmapping and everything in the USharpVideo/Examples directory.

FAQ

Does YouTube work on Quest?

No. There is no mechanism to support YouTube videos on Quest reasonably that will not be broken by VRChat the momement it is implemented. Users can however use link resolver services like Jinnai which allow Quest players to play videos input by desktop users.

Are videos supported on Quest?

Yes, kind of. You must have a direct link to a .mp4 video for videos to work on Quest. This is because Quest does not have YouTubeDL which is needed to resolve links that are not pointing directly to a video file. Which is why YouTube is not supported.

About

A basic video player made for VRChat using Udon and UdonSharp

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 72.8%
  • HLSL 13.2%
  • ShaderLab 12.3%
  • GLSL 1.7%