Unity Wordpress Plugin

Sunday, May 12, 2013

I made my first wordpress plugin today. It makes it so you can upload unity3d files to wordpress and and embed them in your posts!

[unity src="609"]

It solves a lot of problems that seem to exist in current plugins. One of the issues was that they all kind of wanted you to upload your unity3d files via ftp to get them to work. That is terrible. So I made it so you can upload them via the media player, and insert them via the media player.. and it just works.

They play together nice too. So when you play one, it stops the others. I'll probably make that optional though.. cuz there's nothing stopping multiple unity players playing at the same time.

[unity src="615"]

Another thing is a lot of web servers can't serve unity3d files.. because they don't have the mime type and permissions set. So when you upload a unity3d file it just adds .zip to the end. The unity player can still play it - and you don't have to mess with your config. All good!

I'm gonna play around with it and clean it up then I'll see about getting it in the searchable wordpress plugin install thing.

More Rubbish

Your Portfolio Gave Me Diarrhea

Friday, October 1, 2021

Motivation

Friday, September 24, 2021

We got married

Thursday, September 16, 2021

Unity Quiz

Sunday, September 6, 2020

Everything We Watched In Lockdown

Thursday, September 3, 2020

Linuxxx

Saturday, May 11, 2013

The Beach

Friday, May 10, 2013

Trees have leaves

Thursday, May 9, 2013

OBS

Friday, May 3, 2013

Privacy Thing

Friday, April 19, 2013