


Youtube Search Prefab for VRChat Worlds (PC/Quest)
Product Description
Youtube search prefab for VRChat worlds (u2b.cx API)
Latest update: 1.14 - bug fix for cases where search UI is disabled on startup
Important Information:
As this plugin is not loading videos on its own - it only searches them and gives URL to videoplayer/VRChat, its at the mercy of how VRChat and your videoplayer will load them in. There are known issues in the game right now specifically with loading youtube videos (no matter if its via search or not). If you experience those - use VRCVideoCacher (steam link). It makes sure YTDLP is up to date and solves most of the video loading related issues in the game for free!
Youtube, by its nature, will always be a problematic platform to load videos from inside VRChat - especially now that they are fighting scrapers and bots. And this Prefab is not a magic solution to that issue. They are phasing out availability of pre-muxed mp4 files, so third-party tools like VRCVideoCacher are becoming more and more important, hopefully VRChat will implement its own out-of-box solution to the issue later down the line.
Those issues are as frustrating for me as they are for you, i will update info here on how to get around the VRChat's issues as i discover them too!
Here are some things VRChat and community are doing to fix that:
- https://feedback.vrchat.com/feature-requests/p/update-avpro-to-341
Demo World:
- https://vrchat.com/home/world/wrld_06c4e05c-3b64-484a-9b01-7891e5f144f6 - Always try it before you buy it!
Setup Tutorial Video:
- https://youtu.be/ZFFYQ5if_-M
Some info:
- Made to be reliable and has been field tested in multiple worlds (including worlds like Popcorn Palace, Rainy Cliffside Shack and many, many other big worlds)
- Incredibly Optimized. Doesn't waste CPU time!
- 6 UI Styles: Compact, with big images, black, transparent, or iwaSync styled!
- Easy to setup - minimal configuration needed
- Flexible UI - can be integrated and styleed into your own UI if needed
- Queue plugins support (any 3rd party ones)!
- Support for showing title of the video instead of url in players that can do that- Loading animations
- Can load playlists if link to the playlist is provided instead of search querry
- Compatible with USharpVideo, IwaSync and ProTV2/ProTV3, VizVid, Yama out of the box
- Compatible with virtually anything else via Other videoplayer option
- Pagination (Next page button, nice to have)
- Image previews (and version witout image previews/more compact UI)
- And other video data like views, length, etc.
More technical info:
Search is using Lamp's u2b.cx API that can be self-hosted if needed
How to use:
1. Drag and drop prefab into the scene
2. Select "SearchManager" inside the prefab to open the settings
3. Setup the prefab by assigning the reference to your videoplayer's UI Handler, VRCUrlInputField,
VideoName InputField (if your videoplayer has it) and typing in your personal pool name and size
4. Select your videoplayer type
5. Click Apply Settings
6. Upload the world/enjoy:3
General notes:
- If given a choice between AVPro(stream) and Unity(video) backends in your videoplayer - Unity is facing less issues lately and seem to have been working more reliably (game-wide, search related).
- Preferably use VRCVideoCacher (steam link)
Rules (Depends on the license):
- You are allowed to use it for personal, non-commercial purposes
- You are allowed to modify the product
- With personal licence you are not allowed to distribute the package or any of its parts, no matter if its modified or not, commercial licence allows including it in your products(gumroad/booth worlds)
- Commercial use is allowed if only if have a commercial license (gumroad worlds, public worlds made to generate profit, etc.)
Credits:
- Lamp (website - lamp.wtf) - huge, enormous props to the Lamp for creating the backend API, API is as good as it is only because of his skills, give him some love! (Gitea page of the API used)
Well and everything else is made from scratch so idk what to put here, thanks to all of you for support
Feel free to contact me on discord (rinvo) if need any help/stuff.
P.S. More links to my stuff if u have any questions are here - rinvolinks.carrd.co:3
Copyright © 2024 Rinvo, All rights reserved.