Watch YouTube videos from realXtend

Posted by on January 17, 2009 under howto |

Now it is possible to watch your favorite Youtube videos from the comfort of a realXtend world. Rendering web pages to a prim or 3D object has been working already from the first realXtend release. Now the realXtend 0.4 release brings the possibility to make the rendered web pages flash content to show in real time.

youtubeinrexTest User watches Guns and Roses “Welcome to the jungle”.

To make this work, you need to make a prim box for the screen and upload a placeholder texture. The texture is used to mark the place of the web page so it can be anything as long as it is jpeg and a small one.

youtubevideo_mediaurlWhen you see the texture at the prim, go to inventory and edit properties of the texture (see example left). Set media URL to http://www.cybertechnews.com/test/gnr.html which is a web page with a black background and the embedded Youtube video - feel free to copy the code if you want to make your own pages. I used “autoplay=1″ parameter to start the video automatically, otherwise the video just stands still.

To make the video show, set the Refresh rate to “60″, which is how many times per second the screen is updated.

Note that the video is not synchronized between viewers, but if you want to share a video with your friend, just restart the video and you will get a simultaneous experience. Simplest way to restart is to go again to texture properties and hit enter at the MediaURL field.

Add A Comment