Page 1 of 1

Problems viewing a Youtube movie link

Posted: Thu Oct 11, 2018 11:41 am
by DSpencer
Hi all,

I'm working on a mini-site with a virtual tour and seem to be having problems with getting the youtube movie pop-up to work.

The development site is HERE and if you look down at the nadir on the initial node you'll see an icon to play a movie.

The tour is within an iframe on the main html page.

The pop-up appears to work correctly, but when you click the icon to play the movie an error appears.

Am I doing something incorrectly?

As an aside can 360º movies be played in these pop-up windows too?

Thanks,

Re: Problems viewing a Youtube movie link

Posted: Thu Oct 11, 2018 4:06 pm
by DSpencer
Upgraded to v6 and everything seems to be working correctly now… :)

Re: Problems viewing a Youtube movie link

Posted: Thu Oct 11, 2018 4:27 pm
by Tony
Hi,

Glad you got it working.

When I first took a look at your issue the video seemed to be embedded in another iFrame within the tour and you were trying to pass the $(hu) parameter from the hotspot URL field to it. Using the method /$(hu) in the iframe string doesn't work and you need to create a variable eg MyPageURL to pass the $(hu) to and then use that as /$(*MyPageURL) in the iframe string.

I use the same method in my tutorial Hotspot Templates and iFrames at https://tonyredhead.com/pano2vr/hotspot ... nd-iframes

In regard to your second question yes you can load a 360˚ YouTube video and pan around it while it's playing.

I created this project while looking at the issue of the iFrame video not playing. On the second node is a 360˚ Youtube video I shot.

https://s3-ap-southeast-2.amazonaws.com ... index.html

Tony