embedding monkey app in wordpress post?
Monkey Targets Forums/HTML5/embedding monkey app in wordpress post?
| ||
Anyone know how to do this? I'm not having much luck... Cheers Charlie |
| ||
Doesn't answer your question but I was under the impression (from Mark) that HTML5 (mojo) files should not be hosted anyhwere since they are still technically closed source. |
| ||
I'm fairly sure that's not true, Indiepath. I've been trying for like the past hour to make an example post, using the PageView plugin, but my blog has just decided to go mad and break if I make a post more than 60 characters long. So, install PageView, and then do something like [pageview url="http://mysite.com/myapp/MonkeyGame.html"] |
| ||
Thanks Warpy, that's exactly awesome! Cheers Charlie |
| ||
Hi! A few things: 1) Mind if I pinch your HTML5 touch/accel stuff? 2) Please hold off on hosting mojo files anywhere just yet - they're still technically closed source. Bye! Mark Seems true enough to me. |
| ||
I think that would only apply to the source files, not a compiled main.js. Anyone can see the compiled code just by viewing the source of an app page on this site. |
| ||
@Warpy, That was my understanding. The fact that you can see complied code on this site by right clicking something in the app section would make it silly otherwise. Cheers Charlie |
| ||
Sure, I was only hosting a compiled main.js - anyway I've asked for clarification as I thought maybe mark was holding off until he'd integrated some obfuscation engine. |
| ||
I can't understand why we would have to wait for obfuscation.. obfuscating the code yourself is easy enough. Makes no sense. Just run it through Google's closure compiler in advanced mode -- after fixing the few minor errors in the generated code that occur because the Char keyword is used as a variable name in a few places. |
| ||
Un-obfuscating code is easy enough too... |
| ||
Also, one of the things you get when buying Monkey is the license to commercially distribute your creations, so it doesn't make sense not being allowed to host your HTML5 games. |
| ||
I've got the same problem with tumblr. By the way: has anyone tried to create a standalone application from the HTML code via Prism? http://prism.mozillalabs.com/ |
| ||
I wound up inserting a Flash build into a Wordpress post via that iframe plug-in -- it just ended up being the easiest way (even easier than the actual Flash plug-ins!) and should work just as well for html5. |
| ||
Hi, You can post html5 apps no problem. All Mojo source is technically 'closed source', but html5 apps are no longer considered mojo source. And yes, you could 'reverse engineer' an html5 app, and would be free to do with the resultant source whatever the copyright holder allows you to do with it, but it would technically no longer be 'mojo source' at that point. All I'm really trying to achieve here is to get people who use Mojo to buy it without having to resort to any DRM or 'time limited' demos or anything, and I think most people get it. But I don't want people posting 'mojo source listings' as I want to keep a clear line between the free/open stuff (coming soon!) and Mojo. I may well end up relaxing this for the native side of things, as this is no doubt where the interesting tweaks will happen, and without the .monkey files these aren't much use anyway, but not yet. |