Discuss Scratch

epninja
Scratcher
100 posts

HTML 5 player

People who browse the internet a lot will know that HTML 5 can be considered to have beaten Adobe Flash. Increasingly products are supporting HTML 5 rather than the Flash Player, for example for Android mobile devices they withdrew the Flash Plugin and made it so you was unable to download the Flash plugin on Android devices anymore. Increasingly developers are using HTML 5 as well, it's becoming more popular on the internet. Scratch 2.0 is running on the Flash player and this could become a problem, as the Flash player is losing popularity with many computers. So maybe a HTML 5 version of Scratch 2.0? HTML 5 is said to be easier to work with than the Flash Player, and many devices now support it.
I hope this is taken into consideration.
Rub0Gameton
Scratcher
100+ posts

HTML 5 player

I totally disagree with this. HTML 5 is not nearly as flexible as Flash is. Also, Google didn't want to throw away Flash, it was Adobe themselves who discontinued Flash for Android devices. HTML 5 is, indeed, becoming popular in the internet and may replace Flash for a few different functions such as video streaming and Web Designing, but it does not compare with Flash when talking about animations or games. What you said about HTML5 being easier than Flash is also untrue. The amount of code you have to type in in HTML5 is many times that of coding in Flash/AS3. Lastly, I don't think it is losing popularity. Even Chrome already brings Flash built in.

Bottom line, HTML5 may some day replace Flash, but not in the near future (next few years). I see no real reason to bother making Scratch in HTML5. Cheers.
botcrusher
Scratcher
500+ posts

HTML 5 player

i'm with epninja on this one html 5 is more efficient and will handle more stress than flash. The big reason people are saying bye-bye to flash is due to the fact that flash is a power hogging application anyone used to dealing with flash on any mobile device can see how it studders on most flash applications
Rub0Gameton
Scratcher
100+ posts

HTML 5 player

botcrusher wrote:

i'm with epninja on this one html 5 is more efficient and will handle more stress than flash. The big reason people are saying bye-bye to flash is due to the fact that flash is a power hogging application anyone used to dealing with flash on any mobile device can see how it studders on most flash applications
The difference in efficiency and performance between these two is very slight. Depending on the browser you are using, either may be a bit faster than the other. However, HTML5 is not completely developed as of now and there are many things you can't do with it that are possible to do in Flash. As I said before, it may eventually be worth it switching to HTML5, but right now, it would be better to stay with Flash.
veggieman001
Scratcher
1000+ posts

HTML 5 player

Nothing is permanent.

Last edited by veggieman001 (July 17, 2013 00:54:02)

Rub0Gameton
Scratcher
100+ posts

HTML 5 player

veggieman001 wrote:

Rub0Gameton wrote:

botcrusher wrote:

i'm with epninja on this one html 5 is more efficient and will handle more stress than flash. The big reason people are saying bye-bye to flash is due to the fact that flash is a power hogging application anyone used to dealing with flash on any mobile device can see how it studders on most flash applications
The difference in efficiency and performance between these two is very slight. Depending on the browser you are using, either may be a bit faster than the other. However, HTML5 is not completely developed as of now and there are many things you can't do with it that are possible to do in Flash. As I said before, it may eventually be worth it switching to HTML5, but right now, it would be better to stay with Flash.
Like what? What can you do in Flash that is not possible with HTML5?

@OP: The Scratch Team have announced that at some point after the Flash version is done, they'll work on an HTML5-based player & editor.
Outside world interaction is a lot harder to do in HTML5 than it is in Flash (mic and camera). An offline mode would be way harder to do as well because of the way HTML5 handles local saving. What HTML5 doesn't support that Flash does really depends on the browser. If you look at an HTML5 reference manual (a very good one available at the W3 Schools website) you can specifically see what is supported and what isn't for each individual browser. I know that many Scratch users use different browsers, and therefore, see this as a big problem. Also, where did the ST announce it? I think I have heard something about it before but I haven't seen it.
Lightnin
Scratcher
1000+ posts

HTML 5 player

veggieman001 wrote:

Like what? What can you do in Flash that is not possible with HTML5?

@OP: The Scratch Team have announced that at some point after the Flash version is done, they'll work on an HTML5-based player & editor.

Quite right! However, we still gotta stick with Flash for a while. AFAIK (haven't looked lately) HTML 5 still doesn't have a sound API with cross-browser support. Kinda need that for Scratch. But we're actually already working on a basic html 5 player - look for test releases soon after 2.0 gets released.
comp500
Scratcher
100+ posts

HTML 5 player

Lightnin wrote:

veggieman001 wrote:

Like what? What can you do in Flash that is not possible with HTML5?

@OP: The Scratch Team have announced that at some point after the Flash version is done, they'll work on an HTML5-based player & editor.

Quite right! However, we still gotta stick with Flash for a while. AFAIK (haven't looked lately) HTML 5 still doesn't have a sound API with cross-browser support. Kinda need that for Scratch. But we're actually already working on a basic html 5 player - look for test releases soon after 2.0 gets released.
Wow awesome! Although that stopped me making a launchpad/github project to do it… Would there be source code + a extensions/plugins feature?
Zygorithm
Scratcher
49 posts

HTML 5 player

But we're actually already working on a basic html 5 player - look for test releases soon after 2.0 gets released.
Does this mean Scratch will finally have a mobile compatible player within the 2013 timeframe?
LEGOengineer261
Scratcher
18 posts

HTML 5 player

Rub0Gameton wrote:

veggieman001 wrote:

Rub0Gameton wrote:

botcrusher wrote:

i'm with epninja on this one html 5 is more efficient and will handle more stress than flash. The big reason people are saying bye-bye to flash is due to the fact that flash is a power hogging application anyone used to dealing with flash on any mobile device can see how it studders on most flash applications
The difference in efficiency and performance between these two is very slight. Depending on the browser you are using, either may be a bit faster than the other. However, HTML5 is not completely developed as of now and there are many things you can't do with it that are possible to do in Flash. As I said before, it may eventually be worth it switching to HTML5, but right now, it would be better to stay with Flash.
Like what? What can you do in Flash that is not possible with HTML5?

@OP: The Scratch Team have announced that at some point after the Flash version is done, they'll work on an HTML5-based player & editor.
Outside world interaction is a lot harder to do in HTML5 than it is in Flash (mic and camera). An offline mode would be way harder to do as well because of the way HTML5 handles local saving. What HTML5 doesn't support that Flash does really depends on the browser. If you look at an HTML5 reference manual (a very good one available at the W3 Schools website) you can specifically see what is supported and what isn't for each individual browser. I know that many Scratch users use different browsers, and therefore, see this as a big problem. Also, where did the ST announce it? I think I have heard something about it before but I haven't seen it.

Actually, the reason HTML 5 is not supported in all browsers is that it is still in development. Browsers will eventually all support it, and some of the smart ones support most of it now (like Chrome), whereas others (Like IE) don't. Plus its a big plus since mobile devices will support it
comp500
Scratcher
100+ posts

HTML 5 player

LEGOengineer261 wrote:

Rub0Gameton wrote:

veggieman001 wrote:

Rub0Gameton wrote:

botcrusher wrote:

i'm with epninja on this one html 5 is more efficient and will handle more stress than flash. The big reason people are saying bye-bye to flash is due to the fact that flash is a power hogging application anyone used to dealing with flash on any mobile device can see how it studders on most flash applications
The difference in efficiency and performance between these two is very slight. Depending on the browser you are using, either may be a bit faster than the other. However, HTML5 is not completely developed as of now and there are many things you can't do with it that are possible to do in Flash. As I said before, it may eventually be worth it switching to HTML5, but right now, it would be better to stay with Flash.
Like what? What can you do in Flash that is not possible with HTML5?

@OP: The Scratch Team have announced that at some point after the Flash version is done, they'll work on an HTML5-based player & editor.
Outside world interaction is a lot harder to do in HTML5 than it is in Flash (mic and camera). An offline mode would be way harder to do as well because of the way HTML5 handles local saving. What HTML5 doesn't support that Flash does really depends on the browser. If you look at an HTML5 reference manual (a very good one available at the W3 Schools website) you can specifically see what is supported and what isn't for each individual browser. I know that many Scratch users use different browsers, and therefore, see this as a big problem. Also, where did the ST announce it? I think I have heard something about it before but I haven't seen it.

Actually, the reason HTML 5 is not supported in all browsers is that it is still in development. Browsers will eventually all support it, and some of the smart ones support most of it now (like Chrome), whereas others (Like IE) don't. Plus its a big plus since mobile devices will support it
Also, some browsers like Chrome and Firefox were probably made to push forward development of IE and older (but still seemingly up to date) browsers.
comp500
Scratcher
100+ posts

HTML 5 player

Lightnin wrote:

veggieman001 wrote:

Like what? What can you do in Flash that is not possible with HTML5?

@OP: The Scratch Team have announced that at some point after the Flash version is done, they'll work on an HTML5-based player & editor.

Quite right! However, we still gotta stick with Flash for a while. AFAIK (haven't looked lately) HTML 5 still doesn't have a sound API with cross-browser support. Kinda need that for Scratch. But we're actually already working on a basic html 5 player - look for test releases soon after 2.0 gets released.
Local saving/Offline mode ?! That is EASY… All you'd need is a cache manifest and LocalStorage/SessionStorage
botcrusher
Scratcher
500+ posts

HTML 5 player

time is running out XD
adobe is dropping the os's one by one
currently dropped
-solaris
-the linux brotherhood
kidomat43
Scratcher
22 posts

HTML 5 player

HTML5 does support sound playing.

<audio name=“audio_player”></audio>
<script>
var snd = document.getElementById('audio_player');
snd.src = “audio.wav”;
snd.play();
</script>

@Rub0Gameton HTML5 is a lot more flexible than Flash. Flash is fairly closed and has a rigid structure, ie: frames and entities. Where as HTML5 is very open as it does not have a set engine, you can chose a HTML5 game engine library at will.

Flash is a third party addon to a browser, where as HTML5 and Javascript is something that browsers have to support themselves.
All modern browsers have enough support of HTML5 that Scratch could ever need.

The biggest benefit of Flash is that it has built in animating frames and
The biggest benefit of HTML5 is the relationship to the browser, and the flexibility.

Apple mobile devices and Android both do not support flash.

PS: I have both developed with Flash and HTML5.

Last edited by kidomat43 (April 4, 2013 16:56:30)

bobbysq
Scratcher
100+ posts

HTML 5 player

botcrusher wrote:

time is running out XD
adobe is dropping the os's one by one
currently dropped
-solaris
-the linux brotherhood
Oh god, linux? (╯°□°)╯︵ ┻━┻)
@OP, http://forum.xda-developers.com/showthread.php?t=1774336
botcrusher
Scratcher
500+ posts

HTML 5 player

oh yeah i totaly flunked and forgot anything with an ARM processor

Powered by DjangoBB