Putting Unity 3D content into WordPress: Futile attempts

I like using Media Library in Word Press.

When you build a project in Unity3d, select the web build, and pick a seporate folder for unity to put the output file into.

In Wordpress, in Site Admin, click the media link, and upload new media, browse to directory you told unity to dump the files. Select and upload the “.unity3d” file

When you downloaded the Wordpress plugin from the Unity support site there is a readme file. That readme file contains examples on the tags you need to place in your blog posts.

here are the instructions from the readme.txt file that comes with the plugin

=== Usage Instructions ===
With the plugin installed and activated as part of your WordPress blog you can start embedding Unity Web Player content in your posts. Embedding content within your post is done by using a simple tag structure:
The outer tag declares the existence of Unity Web Player content, the name/value pairs you provide then determine what content is displayed and how. There is only one required parameter, the src URL for the content to be displayed, all other parameters are optional and if not provided default values will be used instead.
When adding any of the optional parameters please note that the order you list them is not important. Simply provide each parameter in name=”value” format, there should be no spaces before or after the equals sign and the value provided should always be wrapped in double-quotes (the ” character). Additionally you need to separate each of the name/value pairs with an empty space. For example, here is a tag set where the src, height and width are all specified:

=== Usage Instructions ===

With the plugin installed and activated as part of your WordPress blog you can start embedding Unity Web Player content in your posts. Embedding content within your post is done by using a simple tag structure:

\[WP_UnityObject src="http://www.yourdomain.com/yourfile.unity3d" \/\]

The outer tag declares the existence of Unity Web Player content, the name/value pairs you provide then determine what content is displayed and how. There is only one required parameter, the src URL for the content to be displayed, all other parameters are optional and if not provided default values will be used instead.

When adding any of the optional parameters please note that the order you list them is not important. Simply provide each parameter in name=”value” format, there should be no spaces before or after the equals sign and the value provided should always be wrapped in double-quotes (the ” character). Additionally you need to separate each of the name/value pairs with an empty space.

When you upload content into the WordPress Media library, it will give you the URL to your content.

Soo…. let’s see how it works

Did it work?

Well, unfortunately more often than not you’ll get an error downloading the file.
Reading the developer’s  unity 3d blog it seems some people have had success others may be having the same problem as here.

  • LinkedIn
  • Delicious
  • Reddit
  • Twitter
  • Slashdot
  • Digg
  • Facebook
  • Blogger Post
  • StumbleUpon
  • Yahoo Bookmarks
  • MySpace
  • Windows Live Favorites
  • Share/Bookmark

Leave a Reply

You must be logged in to post a comment.

Content recommendations from Evri