I am following this :
I get different syntax but link works ok ,I have searched html5 compatible and I get this one :Adding a YouTube Video
For Pano2VR V3
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="http://www.youtube.com/v/BfIAKj3Gl1E?version=3"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/BfIAKj3Gl1E?version=3" 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, http://www.youtube.com/v/BfIAKj3Gl1E?version=3 and 390, 640.
Code: Select all
<iframe width="640" height="390" src="http://www.youtube.com/embed/P4wI_o8gyxA" frameborder="0" allowfullscreen></iframe>
I'm doing this :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.
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