Stencyl 3.4.0 is now out. Get it now!

HTML5 Mobile Extension

1MrPaul1

  • *
  • Posts: 1238
Yes Yes Yes
3D was my all time best wish for stencyl

squeeb

  • Posts: 1142
Yes.  I think html5 is the future.  I had no interest in publishing to flash before they announced ending it.  Html5 looks amazing and the future.  I can make a mobile app you can download from the store.  Then have links to the html5 apps on my webpage and integrate them both.   Keep up the great work!

LIBERADO

  • *
  • Posts: 2488
Yes.  I think html5 is the future.
And the present.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.



NOTA

  • Posts: 158
Wow, so cool.
is there a way to alter the VIDEO PLAYBACK block to make it an HTML5 "Webviews" block?

mdotedot

  • *
  • Posts: 1281
Can you provide an example that works with webview on HTML5 on Chrome?!
When I have the javascript/HTML code I might be able to make a block for it.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

NOTA

  • Posts: 158
Can you provide an example that works with webview on HTML5 on Chrome?!
When I have the javascript/HTML code I might be able to make a block for it.

Would be something like <object type="text/html" data="http://www.flickr.com" style="width:100%; height:100%">
<p>backup content</p>
</object>
but with highth, width, x,y, posision like the original Web Views. Not the current WebViews.

mdotedot

  • *
  • Posts: 1281
You need to give me an actual example. I've tried some webview things and they didn't work. If it doesn't work we can't create an extension for it.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

NOTA

  • Posts: 158
Ok, here is one with html.
Iv'e tried others but have had no luck.
http://tapdroid.com/cfmin/
pay only attention to the "List" at the top right. let me know if you need it cleaned up.
I have other code on the page that is not visible.

NOTA

  • Posts: 158
Curios;  you said "I've tried some webview things and they didn't work."

Were you attempting to alter the original WebViews extension to function in HTML5?

mdotedot

  • *
  • Posts: 1281
Hi NOTA,

Well the example you gave doesn't use the webview as far as I can see it.
"
To embed a web page in your app, add the webview tag to your app's embedder page (this is the app page that will display the guest content). In its simplest form, the webview tag includes the src of the web page and css styles that control the appearance of the webview container:

<webview id="foo" src="http://www.google.com/" style="width:640px; height:480px"></webview>
"

I've tried that webview container but it doesn't work. I might be doing something wrong because I never used it before.

Existing Extensions can't be used as they use different software languages.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

NOTA

  • Posts: 158
I'm so sorry. I misunderstood what you meant by example.
Here is the Stencyl Produced HTML5, w/the original Web Views extension. (that for some reason only works on mobile.
http://tapdroid.com/mdotedot

re uploaded 7:02 am Estern

« Last Edit: Yesterday at 04:03:51 am by NOTA »

mdotedot

  • *
  • Posts: 1281
We don't seem to understand each other!

I'm not going to do anything on the WebViews extension that is made for Android/iOS !

There is a webview html5 container like I said. That should give you a webpage inside an element. But I've yet to find an example how to show a webpage inside such container. If you can supply a working example using the webview element I might be able to add that to the HTML5 mobile extension


Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

NOTA

  • Posts: 158
 okay, so now I'm super confused, if you right click and view page source the third JavaScript down calls web views. the only other way I know to show you another example is to give you a link to an apk.