|
|
| Line 1: |
Line 1: |
| {{Infobox/Asset/VPM
| |
| |name=com.foulfoxhacks.betteryts
| |
| |version=Latest version
| |
| |status=maintained
| |
| |license=MIT
| |
| |author=FoulFoxHacks
| |
| |github=foulfoxhacks/betteryts-vrchat
| |
| |documentation=https://github.com/foulfoxhacks/betteryts-vrchat
| |
| }}
| |
|
| |
|
|
| |
| '''BetterYTS In-World Search''' is a VRChat world package developed by FoulFoxHacks. It provides an in-world YouTube search interface that allows players to search for videos, browse thumbnail-based search results, and select videos for playback through a configured video player.
| |
|
| |
| The package uses UdonSharp components and a companion web service to provide search functionality within VRChat worlds.
| |
|
| |
| == Features ==
| |
|
| |
| === In-world video search ===
| |
|
| |
| BetterYTS provides an interactive search panel that allows players to enter search queries and browse video results without leaving the VRChat world.
| |
|
| |
| Features include:
| |
|
| |
| * Search YouTube videos using an in-world interface.
| |
| * Display results in a 4 × 3 thumbnail grid.
| |
| * Navigate through paginated search results.
| |
| * Select individual results for playback.
| |
| * Play through supported VRChat video players or custom Udon video-player targets.
| |
|
| |
| === Video playback integration ===
| |
|
| |
| BetterYTS uses a configurable video-player target system to connect search results to the world's playback implementation.
| |
|
| |
| Supported playback configurations include:
| |
|
| |
| * VRChat video players.
| |
| * Custom UdonSharp video-player integrations.
| |
| * ProTV integration through the separate BetterYTS for ProTV package.
| |
|
| |
| Playback synchronization depends on the selected video-player implementation. For example, ProTV provides its own synchronization and queue functionality.
| |
|
| |
| === URL pool architecture ===
| |
|
| |
| VRChat Udon has limitations when constructing URLs dynamically at runtime. BetterYTS addresses this through a pre-generated URL pool.
| |
|
| |
| The package uses a baked collection of 20,000 URL slots, allowing the search service to identify the appropriate URL for each video result and associated thumbnail data.
| |
|
| |
| The shared URL-pool functionality is provided by FoulFoxHacks Core.
| |
|
| |
| == Installation ==
| |
|
| |
| BetterYTS is distributed through the FoulFoxHacks VPM repository.
| |
|
| |
| === Requirements ===
| |
|
| |
| * Unity 2022.3 or later.
| |
| * VRChat SDK - Worlds.
| |
| * FoulFoxHacks Core.
| |
| * Allow Untrusted URLs enabled in VRChat client settings for players using the search service.
| |
|
| |
| === Installing through VRChat Creator Companion ===
| |
|
| |
| # Add the FoulFoxHacks package listing to VRChat Creator Companion.
| |
| # Install BetterYTS In-World Search.
| |
| # Install BetterYTS Editor Tools for the Unity editor integration.
| |
| # Add a supported video player to the Unity scene.
| |
| # Open the BetterYTS tools under the Unity Tools menu.
| |
| # Use the Create BetterYTS Search Panel command to generate the panel and configure its components.
| |
|
| |
| VPM repository:
| |
|
| |
| https://vpm.foulfoxhacks.dev/index.json
| |
|
| |
| == Companion packages ==
| |
|
| |
| BetterYTS is part of a collection of related VRChat world-development packages.
| |
|
| |
| {| class="wikitable"
| |
| ! Package !! Package ID !! Description
| |
| |-
| |
| | BetterYTS Editor Tools
| |
| | <code>com.foulfoxhacks.betteryts.editor</code>
| |
| | Unity editor utilities for creating and configuring search panels, building VRChat links, and importing YouTube playlists into ProTV.
| |
| |-
| |
| | BetterYTS for ProTV
| |
| | <code>com.foulfoxhacks.betteryts.protv</code>
| |
| | Provides a ProTV 3 playback target for BetterYTS search results.
| |
| |-
| |
| | FoulFoxHacks Core
| |
| | <code>com.foulfoxhacks.core</code>
| |
| | Shared UdonSharp components, including the URL pool and video-player target infrastructure.
| |
| |}
| |
|
| |
| == Technical information ==
| |
|
| |
| {| class="wikitable"
| |
| ! Property !! Value
| |
| |-
| |
| | Package name
| |
| | <code>com.foulfoxhacks.betteryts</code>
| |
| |-
| |
| | Developer
| |
| | FoulFoxHacks
| |
| |-
| |
| | Latest stable version
| |
| | 1.0.1
| |
| |-
| |
| | Minimum Unity version
| |
| | 2022.3
| |
| |-
| |
| | Distribution
| |
| | VRChat Package Manager (VPM)
| |
| |-
| |
| | License
| |
| | MIT
| |
| |}
| |
|
| |
| == External links ==
| |
|
| |
| * [https://github.com/foulfoxhacks/betteryts-vrchat GitHub repository and documentation]
| |
| * [https://vpm.foulfoxhacks.dev VPM repository website]
| |
| * [https://vpm-catalog.vercel.app/packages/com.foulfoxhacks.betteryts/ VPM Catalog listing]
| |
| * [https://akasammythepuppy.me Developer website]
| |