DevalVR example - Embed Youtube video
This example shows embedded Youtube video-Flash into a panoramic image. This is a tutorial page about how to insert a Flash movie into DevalVR: interactivevideo_tutorial.html
To embed a Youtube video, you must find the url of the Flash video in SRC parameter of "Embed" code.
For example, for this video, you can see this embed code: In "src" parameter you can see "http://www.youtube.com/v/Fgfg8X0lHGU ". This is the url to the Flash movie, copy this url in FILE instruction of DevalVR script.
DevalVR uses the latest 3 characters of the url to know the file type (file extension), you can create a invented parameter to finish the url with appropriate extension, in this case "swf". For example, adding "&exten=swf" at the end: You can include "&autoplay=1" in the url, if you want to start the videoautomatically. Youtube videos have a size of 320 x 262 pixels, you must include SIZE instruction in the object image. And a REFRESHRATE of 12 or 15 is appropriate for a Youtube video. You can use BGCOLOR instruction to adapt the Flash background color to your content.
|