• Stars
    star
    323
  • Rank 130,051 (Top 3 %)
  • Language
    C#
  • License
    MIT License
  • Created about 4 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A basic video player made for VRChat using Udon and UdonSharp

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 using the VRChat Creator Companion
  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.