2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

VRchatで動画プレイヤーを扱う( + Quest環境でも動画を再生する)

Last updated at Posted at 2021-09-07

1 この記事は

VRchatで自作ワールドを作るときに動画プレイヤーの設置方法とQuestでも動画が再生できるようにする方法を説明します。

2 やり方は?

2-1 前提条件

・Unity2919.4.29f1が導入されているものとします。
・最新のVRChat SDK3Udon Sharpが導入されているものとします。

2-2 アセットの入手

まずはboothから動画プライヤーのアセットを取得します。

ダウンロードが完了したデータを展開させると「VideoPlayerForVRChat_1.1.2.unitypackage」が格納されているので、Unityのメニューバーより Assets -> Import Package -> Custome package から「VideoPlayerForVRChat_1.1.2.unitypackage」を取り込みます。

2-3 動画プレイヤー設定方法

Assets -> Kinel -> Prefab内に配置されている「KinelVideoPlayer.prefab」と「KinelPlaylist_tab」を描写エリアにドラッグします。

222.JPG

KinelVideoPlayer(動画プレイヤー本体)とKinelPlaylist_tab(Playlist)のオブジェクトが埋め込まれます。
223.JPG

🔶KinelVideoPlayerの設定方法 / Assetに同封されているドキュメントを引用
228.JPG

🔶KinelPlaylist_tabの設定方法(その1) Assetに同封されているドキュメントを引用
224.JPG

🔶KinelPlaylist_tabの設定方法(その2) Assetに同封されているドキュメントを引用
225.JPG

🔶KinelPlaylist_tabの設定方法(その3) Assetに同封されているドキュメントを引用
226.JPG

🔶KinelPlaylist_tabの設定方法(その4) Assetに同封されているドキュメントを引用
227.JPG

2-4 Questで動画を再生させるには

Youtubeの動画をQuest環境で再生させることができます。

"https://t-ne.x0.to/?url=(Youtubeの動画URL) の形式でKinelPlaylist_tabにURLを入力してください。"

(例) YoutubeのURL https://youtu.be/gCSRMdA-qCI
KinelPlaylist_tabに入力するURL https://t-ne.x0.to/?url=https://youtu.be/gCSRMdA-qCI

image.png

詳細は下記のサイトをご参照ください。
https://t-ne.x0.to/

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?