You Tube video.

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
wkeller
Posts: 3
Joined: Mon Oct 07, 2024 3:28 pm

When I link a you tube video using a hotspot it will play as a stand alone video in a smaller screen over the pano. I would like to be able to link the you tube vireo to a button and have it play the same. When I link it to a button it opens the whole youTube page and fills the screen. Not what I want. Does anyone know if this can be done and if so how? Wayne
wkeller
Posts: 3
Joined: Mon Oct 07, 2024 3:28 pm

I would also like to be able to link PDF's to a button???
User avatar
Hopki
Gnome
Posts: 13232
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi wkeller,
Please see the attached project.
The YouTube video was taken from the Pano2VR 6 YouTube Video Component.
Note, the button that opens the video popup uses a Set Value action to the Video Element, the data is just the Video ID.
It cannot be to be the full URL.

The PDF popup, the PDF file is first added to assets.
The button that opens the PDF uses a Set Value action that sets the path to the PDF file from the assets folder.

The Close buttons sets the variable value back to false.
Both the Video and PDF elements unload their contents when closed and why these also have a visible logic block to close them as well as the parent containers.
Regards,
Hopki
Attachments
project.zip
(53.91 KiB) Downloaded 55 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply