Thread:Project:Support desk/Include Unity3D (JavaScript)

Hi. I want to include the following source into a site of my MediaWiki:

		



function GetUnity {

if (typeof unityObject != "undefined") {

return unityObject.getObjectById("unityPlayer");

}

return null;

}

if (typeof unityObject != "undefined") {

unityObject.embedUnity("unityPlayer", "http://startrek-is.com/wp-content/themes/startrek/unity3d/FED_Steamrunner.unity3d", 640, 400); }



How can i get it?

This will look like this: http://lcars.66th-fleet.de/include/schiffe/media_st_is1.php