Video players: Difference between revisions
Created page; stubbed. |
RavenWorks (talk | contribs) →Video compatibility: Added a partially-complete table of video codec and container support. |
||
| Line 9: | Line 9: | ||
* '''Note:''' VRChat on Android will not play video if the host is not using HTTPS protocol. | * '''Note:''' VRChat on Android will not play video if the host is not using HTTPS protocol. | ||
=== Video codecs and containers === | |||
If hosting video yourself, VRChat may or may not be able to play various filetypes, depending on the user's platform. This also varies depending on whether the player is using AVPro or Unity video player. | |||
(This table is a work in progress, please fill in other platforms as you're able. Platform compatibility can be tested [https://vrchat.com/home/world/wrld_bcc3fb8b-6bbd-4ea8-991b-7f7da49c1a56/info here].) | |||
{| class="wikitable" | |||
|+ | |||
! | |||
! | |||
!Win 10 | |||
!Win 11 | |||
!Steam Deck | |||
!Quest 2 | |||
!Quest 3 | |||
!Android | |||
!iOS | |||
|- | |||
|Codec | |||
|Container | |||
| align="center" |<small>AVPro / Unity</small> | |||
| align="center" |<small>AVPro / Unity</small> | |||
| align="center" |<small>AVPro / Unity</small> | |||
| align="center" |<small>AVPro / Unity</small> | |||
| align="center" |<small>AVPro / Unity</small> | |||
| align="center" |<small>AVPro / Unity</small> | |||
| align="center" |<small>AVPro / Unity</small> | |||
|- | |||
!H.264 | |||
!MP4 | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
|- | |||
!H.265 | |||
!MP4 | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
|- | |||
!VP8 | |||
!WebM | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
|- | |||
!VP9 | |||
!WebM | |||
| align="center" |? | |||
| align="center" |✔️/❌ | |||
| align="center" |✔️/❌ | |||
| align="center" |? | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
|- | |||
!VP9 | |||
!MKV | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
|- | |||
!AV1 | |||
!MP4 | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
|- | |||
!AV1 | |||
!WebM | |||
| align="center" |? | |||
| align="center" |✔️/❌ | |||
| align="center" |✔️/❌ | |||
| align="center" |? | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
|- | |||
!AV1 | |||
!MKV | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
| align="center" |? | |||
| align="center" |✔️/✔️ | |||
| align="center" |? | |||
|} | |||
==In the SDK== | ==In the SDK== | ||
Revision as of 13:27, 19 October 2025
[Reason: This page is not yet complete! You can contribute, by expanding and proofreading, in accordance with the Manual of Style.]
Video players are prefabs in VRChat worlds, using Udon, that allow users to share, or stream video content simultaneously. VRChat officially uses two types of video players in their SDK, VRCAVProVideoPlayer, and VRCUnityVideoPlayer[1]. However, there are different community-created video player prefabs, with different user interfaces, and preferences. All video players utilize world audio, and most video players have a volume slider on the user interface.
Video compatibility
Using VRChat's default settings, video players can play videos from their list of trusted sources, such as YouTube and Twitch. However, by toggling "Allow Untrusted URLs" in your settings, videos from most sources should be able to play and be watched, and as long as it's a supported video format, or stream codec, by the player.
Playing videos not from the video player allowlist[2] in Public instances may be limited, unless the world creator has that domain or host whitelisted.
- Note: VRChat on Android will not play video if the host is not using HTTPS protocol.
Video codecs and containers
If hosting video yourself, VRChat may or may not be able to play various filetypes, depending on the user's platform. This also varies depending on whether the player is using AVPro or Unity video player.
(This table is a work in progress, please fill in other platforms as you're able. Platform compatibility can be tested here.)
| Win 10 | Win 11 | Steam Deck | Quest 2 | Quest 3 | Android | iOS | ||
|---|---|---|---|---|---|---|---|---|
| Codec | Container | AVPro / Unity | AVPro / Unity | AVPro / Unity | AVPro / Unity | AVPro / Unity | AVPro / Unity | AVPro / Unity |
| H.264 | MP4 | ? | ✔️/✔️ | ✔️/✔️ | ? | ? | ✔️/✔️ | ? |
| H.265 | MP4 | ? | ✔️/✔️ | ✔️/✔️ | ? | ? | ✔️/✔️ | ? |
| VP8 | WebM | ? | ✔️/✔️ | ✔️/✔️ | ? | ? | ✔️/✔️ | ? |
| VP9 | WebM | ? | ✔️/❌ | ✔️/❌ | ? | ? | ✔️/✔️ | ? |
| VP9 | MKV | ? | ✔️/✔️ | ✔️/✔️ | ? | ? | ✔️/✔️ | ? |
| AV1 | MP4 | ? | ✔️/✔️ | ✔️/✔️ | ? | ? | ✔️/✔️ | ? |
| AV1 | WebM | ? | ✔️/❌ | ✔️/❌ | ? | ? | ✔️/✔️ | ? |
| AV1 | MKV | ? | ✔️/✔️ | ✔️/✔️ | ? | ? | ✔️/✔️ | ? |
In the SDK
You can add video players to your VRChat world with the SDK's VRCAVProVideoPlayer or VRCUnityVideoPlayer. The easiest way to put a Video Player in your Udon world is by using one of the Prefabs, which you can find in: Packages/VRChat SDK - Worlds/Samples/UdonExampleScene/Prefabs/VideoPlayers.
Official resources
- Video Players on creators.vrchat.com
- Video Player Allowlist on creators.vrchat.com
- Udon Video Sync Player on creators.vrchat.com
See also
References
- ↑ Video Players | VRChat Creation on creators.vrchat.com; retrieved December 7, 2024
- ↑ Video Player Allowlist on creators.vrchat.com; retrieved December 7, 2024.