fruitoftheloom
Posts: 17603
Joined: Tue Mar 25, 2014 12:40 pm

Re: Flash Player now available for Chromium

Wed Oct 12, 2016 7:14 am

spl23 wrote:
Cancelor wrote:Okay, I get that this is an MIT thing.

Did Scratch 1 use Flash, does it no longer fulfil our educational goals?
No, Scratch 1 was a native ARM application. While it still works, many educational resources are now being released which use the new features in Scratch 2, and we need to be able to support them.

Please bear in mind that, for every complaint about Flash now being on the platform, there will have been another complaint about the lack of Scratch 2 on Pi. We can't please everybody on this issue, but it is easy enough to remove Flash if you don't want it - see the instructions higher up in this thread.
Yes, I understand your point, but surely you could of released a Chromium Version with Flash and a Chromium version without ??

That would of been best of both camps ??
Adieu

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 291
Joined: Fri Dec 26, 2014 11:02 am

Re: Flash Player now available for Chromium

Wed Oct 12, 2016 7:21 am

Not really - it would mean we were supporting multiple versions of a package; we would get support requests due to people having one version installed when they wanted the other etc. Not to mention that whichever of the two packages we included in our default image would be the wrong one for half the users...

Incidentally, Chrome is already moving over to prioritising HTML5 over Flash on sites which support both - by the end of this year, Chrome will only load Flash on sites which do not have an HTML5 alternative. Once this functionality makes it into the Chromium build for the Pi (which should be within the next few months), Flash playback will never occur in preference to HTML5.

fruitoftheloom
Posts: 17603
Joined: Tue Mar 25, 2014 12:40 pm

Re: Flash Player now available for Chromium

Wed Oct 12, 2016 7:30 am

spl23 wrote:Not really - it would mean we were supporting multiple versions of a package; we would get support requests due to people having one version installed when they wanted the other etc. Not to mention that whichever of the two packages we included in our default image would be the wrong one for half the users...

Incidentally, Chrome is already moving over to prioritising HTML5 over Flash on sites which support both - by the end of this year, Chrome will only load Flash on sites which do not have an HTML5 alternative. Once this functionality makes it into the Chromium build for the Pi (which should be within the next few months), Flash playback will never occur in preference to HTML5.
https://groups.google.com/a/chromium.or ... E3jf40OAAJ

That is good news, and by the way thanks for all the information given. :D
Adieu

mattmiller
Posts: 1954
Joined: Thu Feb 05, 2015 11:25 pm

Re: Flash Player now available for Chromium

Wed Oct 12, 2016 8:18 am

There's no sane reason why the morons at MIT picked a dead technology for Scratch 2.0. The reason for that remains a complete mystery.
It wasn't dead (or even close to being) when they started the Scratch 2 project - HTML5 was in its infancy. Simply historical timing

User avatar
LetHopeItsSnowing
Posts: 357
Joined: Sat May 26, 2012 6:40 am
Location: UK
Contact: Website

Re: Flash Player now available for Chromium

Wed Oct 12, 2016 12:04 pm

This was bound to be a contentious subject on the forum. I cant abide flash, but I welcome its introduction to the Pi's ecosystem as it raises the accessibility and availability of service. Great job guys.
"am I getting slower, or is stuff more complicated; either way I now have to write it down - stuffaboutcode.com"

timrowledge
Posts: 1139
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Flash Player now available for Chromium

Wed Oct 12, 2016 9:20 pm

spl23 wrote:
Cancelor wrote:Okay, I get that this is an MIT thing.

Did Scratch 1 use Flash, does it no longer fulfil our educational goals?
No, Scratch 1 was a native ARM application. .
Well actually Scratch 1 up to 1.4 and the last NuScratch release is a Smalltalk application that runs on any platform supported by the SqueakFoundation. Which is pretty much everything.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

dave j
Posts: 105
Joined: Mon Mar 05, 2012 2:19 pm

Re: Flash Player now available for Chromium

Wed Oct 12, 2016 10:05 pm

spl23 wrote: The rpi-chromium-mods package, in addition to adding Flash, installs uBlock origin and h264ify, customises some aspects of the appearance of the browser (such as use of the openbox window theme), selects DuckDuckGo as the default search engine and applies a few command-line flags which may slightly improve performance. It makes no changes to binary code - it basically sets up preference files. (Oh, and it sets up blocking of Flash playback by default...)
Is there any reason why Flash is bundled in a package with other stuff that people might otherwise want? Putting it in a separate package, installed by default, would at least have allowed those who don't want it an easy way to exclude it from their systems whilst still getting the other bits.

lb
Posts: 232
Joined: Sat Jan 28, 2012 8:07 pm

Re: Flash Player now available for Chromium

Thu Oct 13, 2016 6:06 am

Maybe a white list can be shipped that only enables Flash for specific sites by default? As far as I can see, it was only included because of Scratch 2, after all.

I'd also prefer to have Flash available in a separate package.

mattmiller
Posts: 1954
Joined: Thu Feb 05, 2015 11:25 pm

Re: Flash Player now available for Chromium

Thu Oct 13, 2016 7:05 am

Can Chromium be set to always allow Flash to run? (to save having to do it everytime starting up a Scratch2 project)
[edit]
Found it
type chrome://settings into url

scroll down and click on Advanced
Click on Content settings
Click on Manage Individual Plugins

enable Flash

exit and re-load Chromium
[/edit]
[editedit]
type chrome://plugins into url
[/endof] :)
Last edited by mattmiller on Thu Oct 13, 2016 7:18 am, edited 2 times in total.

gkreidl
Posts: 5729
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Flash Player now available for Chromium

Thu Oct 13, 2016 7:13 am

mattmiller wrote:Can Chromium be set to always allow Flash to run? (to save having to do it everytime starting up a Scratch2 project)
chrome://plugins
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

mattmiller
Posts: 1954
Joined: Thu Feb 05, 2015 11:25 pm

Re: Flash Player now available for Chromium

Thu Oct 13, 2016 7:17 am

chrome://plugins
Yep - thats a lot quicker :)

EdwinJ85
Posts: 264
Joined: Wed Feb 01, 2012 4:44 pm
Contact: Website

Re: Flash Player now available for Chromium

Thu Oct 13, 2016 5:27 pm

I know a lot people who do not like this change and the security problems it brings but as someone who runs a code club:

THANK YOU!

It isn't just scratch that uses flash, lots of educational software does. Google chrome includes flash for the same reason, not because we want flash to exist but because it is a legacy issue that makes the internet harder to use for the average user if excluded. The fact a Pi is now a viable replacement for a horde of overheating Dell computers from the early 00's will make my and many other clubs very excited. Heck, it now means the main selling point of Chromebooks for a code club is moot.

Anything that makes it easier for a 10 year old to get going in a code club session gets my applause. For me personally, the chance to play some old flash games on the Pi is very enticing...
Hello!

cjan
Posts: 612
Joined: Sun May 06, 2012 12:00 am

Re: Flash Player now available for Chromium

Fri Oct 14, 2016 1:45 am

cjan wrote:
cjan wrote:update, want shutdown -> logout back.
sorry, Exit to command line = logout
after update, logout is back.

User avatar
bensimmo
Posts: 3311
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Flash Player now available for Chromium

Fri Oct 14, 2016 4:59 pm

Excellent, this is going to make life easier and also make all the Scratch Olympics compatible (note, you may want to nudge MagPi to a new revision update to their publication)
Also MyMaths and many others should be able to run.. It does mean the ad-block will be working overtime I guess.

I'll see if I can get some updated and tested.
(though I know a lot have HTML5 variant in development,)

User avatar
Gavinmc42
Posts: 2127
Joined: Wed Aug 28, 2013 3:31 am

Re: Flash Player now available for Chromium

Sat Oct 15, 2016 10:52 am

Thanks for the flash plugin enable setting tricks.

In Oz we have education apps that need flash.
Literacy Planet, Reading eggs, Mathletics.
This makes a Pi3 now suitable for my kid to do his set homework on.
Makes it more affordable for families without PCs/laptops/tablets too.

Is it going to be fast enough? Time to plug it in the TV to get audio.
I do wish they used pure HTML5 instead of flash, but it based on old stuff.
Ground breaking tech at the time, but dated now.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

mob-i-l
Posts: 210
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Flash Player now available for Chromium

Sat Oct 15, 2016 8:34 pm

I can't get https://play.spotify.com/browse to work in Chromium on Raspbian, but it works in Chrome on Windows 10. Scratch 2 works in both. When I go to Spotify Web Player in Raspbian it immediately jumps to https://www.spotify.com/. In Windows 10 it stays on the original page. I have switched on always run Flash on chrome://plugins/.

I did get Spotify to work in a manually installed earlier Chromium with PepperFlash.

I would also like PepperFlash to work in Firefox on Raspbian, but the FreshPlayer isn't a package in Raspbian, but it does exist in Lubuntu for Raspberry Pi. Chromium doesn't start in Lubuntu for RPi.

BTW now everyone with Raspbian can try out my Scratch 2-programs: https://scratch.mit.edu/studios/254968/projects/

(BTW the main reason MIT choose Flash was to get gaming sounds without lag in browsers.)
Raspberry Pi0&1A&1B2&1B+&2B&3B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

mob-i-l
Posts: 210
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Flash Player now available for Chromium

Sun Oct 16, 2016 3:06 pm

I also think that Flash should be in its own package, and not in rpi-chromium-mods. It's OK for me if Flash is installed by default, but it should be easy to uninstall. Here is how it looks during installation in Raspbian (Swedish) on Pi Zero:

Code: Select all

                                                                                
 ┌────────────────────┤ Konfigurerar rpi-chromium-mods ├─────────────────────┐  
 │                                                                           │  
 │ Adobe Flash Player. Copyright 1996-2015. Adobe Systems Incorporated. All  │  
 │ Rights Reserved.                                                          │  
 │                                                                           │  
 │ Adobe and Flash are either trademarks or registered trademarks in the     │  
 │ United States and/or other countries.                                     │  
 │                                                                           │  
 │                                  <Ok>                                     │  
 │                                                                           │  
 └───────────────────────────────────────────────────────────────────────────┘  
                                                                                
Raspberry Pi0&1A&1B2&1B+&2B&3B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

insanityideas
Posts: 19
Joined: Tue Oct 02, 2012 9:16 pm

Re: Flash Player now available for Chromium

Sun Oct 16, 2016 7:58 pm

EdwinJ85 wrote:I know a lot people who do not like this change and the security problems it brings but as someone who runs a code club:

THANK YOU!

....

Anything that makes it easier for a 10 year old to get going in a code club session gets my applause. For me personally, the chance to play some old flash games on the Pi is very enticing...
As someone else who runs a CodeClub I also agree with this... half the problem was caused by CodeClub updating all their tutorials with Scratch 2 screenshots where previously it was written for Scratch 1.4 ... but then they had to decide if they should support legacy or not, so frustrations aside they probably made the right call.

With education you need something that just works out of the box no tinkering around, which is totally what the foundation is aiming at, and I applaud them for everything they have achieved in that regard. When I first started CodeClub we had all the problems with school computers not being configured properly for Scratch, and things breaking all the time which can take up a significant amount of the session time to fix, at least with the Pi you know it will just switch on and work, and any problems are fixed with an SD card swap. I have been in schools before now where you started the lesson with 5 more craptops than you needed because by the end that many would have frozen up or never started up properly, and loading the web version of Scratch on 20 computers at the same time would slow the internet to a crawl for 5 minutes, which you had to fill with talking!!

Now if only Scratch would fit on the 7 inch official Pi touchscreens a bit better. ;)

Oh and will Scratch 2 be available as an offline version on the Pi's?? Internet isn't always available where CodeClubs happen.

fruitoftheloom
Posts: 17603
Joined: Tue Mar 25, 2014 12:40 pm

Re: Flash Player now available for Chromium

Sun Oct 16, 2016 9:36 pm

I am not bothered by the Semantics of whether or not Flash is worthy, my objection is:

a) the bundled package

b) not available for the ARMv6 RPi which breaks the mantra of backward compatibility
Adieu

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 291
Joined: Fri Dec 26, 2014 11:02 am

Re: Flash Player now available for Chromium

Sun Oct 16, 2016 9:39 pm

fruitoftheloom wrote:b) not available for the ARMv6 RPi which breaks the mantra of backward compatibility
In that case, do feel free to prevail upon Adobe to produce an ARMv6 build - it's not our fault that they don't... ;)

My guess is that it isn't worth their while optimising for an older architecture, and that Flash would struggle to produce decent performance on a single-core ARM6 anyway.

But by your argument, we shouldn't offer Flash to anyone just because we can't put it on older platforms, and I don't think that's the right thing to do in this instance.
Last edited by spl23 on Sun Oct 16, 2016 9:51 pm, edited 1 time in total.

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 291
Joined: Fri Dec 26, 2014 11:02 am

Re: Flash Player now available for Chromium

Sun Oct 16, 2016 9:42 pm

insanityideas wrote:Oh and will Scratch 2 be available as an offline version on the Pi's?? Internet isn't always available where CodeClubs happen.
If it was, we probably wouldn't have bothered with Flash!

We'd much prefer to offer Scratch 2 as an offline application, but it requires Adobe AIR to run on the target platform, and Adobe withdrew support for AIR on Linux around 5 years ago. As a result, the chances of getting a working ARM build of AIR that will run Scratch 2 are pretty small - unless something changes in either Adobe's support for AIR or MIT's choice of delivery mechanism for Scratch, this is unfortunately unlikely to change.

fruitoftheloom
Posts: 17603
Joined: Tue Mar 25, 2014 12:40 pm

Re: Flash Player now available for Chromium

Mon Oct 17, 2016 4:33 am

spl23 wrote:
insanityideas wrote:Oh and will Scratch 2 be available as an offline version on the Pi's?? Internet isn't always available where CodeClubs happen.
If it was, we probably wouldn't have bothered with Flash!

We'd much prefer to offer Scratch 2 as an offline application, but it requires Adobe AIR to run on the target platform, and Adobe withdrew support for AIR on Linux around 5 years ago. As a result, the chances of getting a working ARM build of AIR that will run Scratch 2 are pretty small - unless something changes in either Adobe's support for AIR or MIT's choice of delivery mechanism for Scratch, this is unfortunately unlikely to change.
MiT really did screw Linux Users, wonderful :shock:
Adieu

User avatar
Gavinmc42
Posts: 2127
Joined: Wed Aug 28, 2013 3:31 am

Re: Flash Player now available for Chromium

Mon Oct 17, 2016 4:46 am

MiT really did screw Linux Users, wonderful
I think you mean Abode.
MIT just used a nice tool that was available at the time.
That is the problem of use propriety stuff instead of open software.

Education markets get offered nice toys, they make stuff, then toy supply gets pulled.
Flash is another bit of code Education people in Oz got sucked into for Reading Eggs, Mathletics, Literacy Planet etc.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

fruitoftheloom
Posts: 17603
Joined: Tue Mar 25, 2014 12:40 pm

Re: Flash Player now available for Chromium

Mon Oct 17, 2016 5:12 am

Gavinmc42 wrote:
MiT really did screw Linux Users, wonderful
I think you mean Abode.
MIT just used a nice tool that was available at the time.
That is the problem of use propriety stuff instead of open software.

Education markets get offered nice toys, they make stuff, then toy supply gets pulled.
Flash is another bit of code Education people in Oz got sucked into for Reading Eggs, Mathletics, Literacy Planet etc.
Adobe Air & Flash Playerfor Linux got pulled 5 years ago, pre-dates Scratch 2, so MiT dropped a big one, as does anyone else who developed ??

https://helpx.adobe.com/air/kb/install- ... linux.html

https://wiki.scratch.mit.edu/wiki/Scratch_2.0


Though Adobe have again started to limited support Flash Player in x86 Linux:

http://www.omgubuntu.co.uk/2016/09/adob ... lash-linux
Adieu

mattmiller
Posts: 1954
Joined: Thu Feb 05, 2015 11:25 pm

Re: Flash Player now available for Chromium

Mon Oct 17, 2016 7:46 am

Adobe Air & Flash Playerfor Linux got pulled 5 years ago, pre-dates Scratch 2, so MiT dropped a big one
It doesn't pre-date when development on Scratch2 started

Until Pi came along there were extremely few Linux computers in the hands of children

At the time of development - Flash was a reasonable technology to design and build Scratch 2 although Jens Moenig and Brian Harvey demonstrated that javascript was also viable at the time

Return to “Raspbian”