SteamVR

SteamVR

SteamVR Workshop
Customize your SteamVR experience by finding new backgrounds, 3D environments, controllers and base station models.
Learn More
Video player in panel
I'm in the middle of making an environment and I have been asked by my client to add videos to the panel UI feature. I have tried using gifs, videos and website links (as seen here https://developer.valvesoftware.com/wiki/Dota_2_Workshop_Tools/Panorama/Panels#Label ), but none seem to work. Does anyone know a way of doing this? Or is there some way I could open a youtube link and bring up the desktop view to see it? Thankyou in advanced.
< >
Showing 1-3 of 3 comments
Rectus 13 23 Sep, 2021 @ 5:56am 
None of the video player panel types from Doata 2 and Alyx seem to be included, but there is a YouTube player hidden in the game files using the HTML panel.

Here is a modified example of the files set up to load a hardcoded video.
https://github.com/Rectus/destinations_range/blob/master/range/panorama/layout/custom_destination/youtube_test.xml
https://github.com/Rectus/destinations_range/blob/master/range/panorama/scripts/custom_destination/youtube_test.js
Last edited by Rectus; 23 Sep, 2021 @ 5:57am
algebuckina 1 23 Sep, 2021 @ 6:08am 
Thankyou, hardcoded video works perfectly for what I need. I'll try this out tomorrow. :)
algebuckina 1 23 Sep, 2021 @ 11:12pm 
Just loaded it up with a Rick Roll and it worked perfectly. Just need to remember to remove it before the client sees it. Thanks a bunch :)
< >
Showing 1-3 of 3 comments
Per page: 1530 50