Page 1 of 1

Question on "Adding a YouTube Video"

Posted: Mon Dec 10, 2012 10:09 pm
by malaga360VR
Hello want to do a test with this tutorial but something is wrong and I would like to know what I am missing.

I am following this :
Adding a YouTube Video
For Pano2VR V3
Step 1
Open YouTube and select the video you want to embed. Make sure that you can embed the video, not all can.
Right button click on the video to show the context menu, click “Copy embed code”, please note this will not be in the context menu if the owner of the video does not want you to embed it.
Open a document and paste this code to see it:
<object style="height: 390px; width: 640px"><param name="movie" value=""><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="390"></object><br />
The bold areas are what you will need to embed the video, file location and window size, and 390, 640.
I get different syntax but link works ok ,I have searched html5 compatible and I get this one :

Code: Select all

<iframe width="640" height="390" src="" frameborder="0" allowfullscreen></iframe>
Step 2
Open the skin editor and click on the Add external Image/SWF button.
Add an external box in the skin and open it.
Set the window size of the external box to match the size of the embedded video and copy and paste in the code in to the External Url text field. Anchor centre and out put the file.
Loading: this check box unloads the video when hidden which means another video will be able to be played.
I'm doing this :


And :


Here I really don't know to set on link the proper window size ( 640 x 340 ) , may be is that the error, I'm not sure, if a click right mouse and choose open on another page , link works and video is there .

But on Panorama I only get :


Any suggestion to solve this ?

Thanks for help

Re: Question on "Adding a YouTube Video"

Posted: Tue Dec 11, 2012 9:49 am
by kris
Hi You need to make two seperate skins for Swf & HTML format then use step 1 for Swf format & step 2 for HTML format. output the panos in SWF & HTML format with flash fall back enabled or disabled.

Re: Question on "Adding a YouTube Video"

Posted: Tue Dec 11, 2012 12:02 pm
by malaga360VR
thanks for help

But I don't understand , Step one describes how to get the link , and step 2 describes how to insert it in the skin .

Here you are project
doomy.p2r,doomy.jpg,simplexvidlink.ggsk and output folder with generated files
(643.23 KiB) Downloaded 95 times
for anyone if can make it run properly.

Re: Question on "Adding a YouTube Video"

Posted: Tue Dec 11, 2012 6:59 pm
by kris
Hi it seems that youtube is not supporting embeding into flashsites anymore, the embed code we are getting is an HTML version not the flash, even the pano2vr example is not working ... fIAKj3Gl1E if you copy embed HTML code. but after a lot of search & attempt i found this" ... wer=171780 " how to obtain the old code. read '"Use old embed code" and successfully played ur video of portrait retouching. i have attached the skins & screen shot. now it will work fine :D. thanks to you that i was not aware of this.



Re: Question on "Adding a YouTube Video"

Posted: Thu Dec 13, 2012 12:03 am
by malaga360VR
I will study it carefully , now is late for me.

It is nice to know that in this forum are good people helping.

Thanks a lot !!

Re: Question on "Adding a YouTube Video"

Posted: Thu Dec 13, 2012 7:14 pm
by Hopki
The add YouTube video Tip did use the "old embed code" but I have noticed that quite a few videos do not give you this option.
The Tip has a way around this, still needs a bit of tiding up but can be found Here.
Now also covers the HTML5 output.

Re: Question on "Adding a YouTube Video"

Posted: Thu Dec 13, 2012 7:43 pm
by malaga360VR
I prefer HTML5 if its possible, that is a very good info !!!!!!

Do you know if it is possible to embed video if I have my own ISP provider ? , I could host it on it like I do with my panoramas, web , mail , etc ....