I'm working on project with a few youtube video hotspots.
The youtube video has been set to be unlisted and they have to be not shareable by the viewer.
However In the html5 export viewers can click the video title and redirect to the youtube website therefore to obtain the URL of the video.
I'm wondering if there's any way we can hide the title in pano2vr?
Alternatively if there's a way to prevent the viewers from being redirecting to youtube can also be a solution.
btw one thing I tried is to set the youtube video element to be permeable. It doesn't work because the playback control becomes permeable too.
Much appreciated!
How to hide the youtube video title? to protect the video url
Hi,
You can hide parts of the YouTube video using a bit of CSS but if someone really wants to follow the video back there's not much you can do to stop them from looking in the page code.
Here's a sample: https://p2vr.s3-ap-southeast-2.amazonaw ... index.html
Tony
You can hide parts of the YouTube video using a bit of CSS but if someone really wants to follow the video back there's not much you can do to stop them from looking in the page code.
Here's a sample: https://p2vr.s3-ap-southeast-2.amazonaw ... index.html
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
- savlinpark
- Posts: 12
- Joined: Mon Jun 22, 2020 1:34 pm
thanks mate! This looks really close !!Tony wrote: ↑Tue Aug 25, 2020 2:11 pm Hi,
You can hide parts of the YouTube video using a bit of CSS but if someone really wants to follow the video back there's not much you can do to stop them from looking in the page code.
Here's a sample: https://p2vr.s3-ap-southeast-2.amazonaw ... index.html
Tony
Is there any tutorial I can follow?
I hope to just hide
title
watch later
youtube icon
right click menu
with the rest of the playback control staying intact.
If it's really important, the only 100% way is to self-host the video. Then you can have complete control of what is shown.
Hi,
I've attached the text file that contains the code I'm using. That page then loads into the iFrame in the skin. It's a bit of a hack as what we are really doing is stretching the video container and then cropping to the center. You can see the effect in the image below with the red area defining the crop.
But as Neal says, self-hosting the video is the way to go.
cheers,
Tony
I've attached the text file that contains the code I'm using. That page then loads into the iFrame in the skin. It's a bit of a hack as what we are really doing is stretching the video container and then cropping to the center. You can see the effect in the image below with the red area defining the crop.
But as Neal says, self-hosting the video is the way to go.
cheers,
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
- savlinpark
- Posts: 12
- Joined: Mon Jun 22, 2020 1:34 pm
I get it. Self hosting might be my best choice. Thanks Tony and Neal!