Anyone having flash crashing all time on youtube read this

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
cooperb21

Anyone having flash crashing all time on youtube read this

Post by cooperb21 » 2015-03-28, 08:23

I think i found a fix... Worked for me.

Go to
(Windows 32bit) C:\Windows\System32\Macromed\Flash
(Windows 64bit) C:\Windows\SysWOW64\Macromed\Flash

Open mms.cfg with note pad.

Add ProtectedMode=0

Have not got one crash since.


http://kb.mozillazine.org/Flash#Flash_Player_11.3_Protected_Mode_-_Windows

User avatar
Moonchild
Project founder
Project founder
Posts: 39693
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Anyone having flash crashing all time on youtube read th

Post by Moonchild » 2015-03-28, 15:00

Tool to make it easier for the IT-challenged among you:

http://www.palemoon.org/flashtool.shtml
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

x-15a2

Re: Anyone having flash crashing all time on youtube read th

Post by x-15a2 » 2015-03-28, 16:46

Thanks for the utility Moonchild!

cooperb21

Re: Anyone having flash crashing all time on youtube read th

Post by cooperb21 » 2015-03-28, 17:02

Moonchild wrote:Tool to make it easier for the IT-challenged among you:

http://www.palemoon.org/flashtool.shtml
Question why is it not built into the browser like firefox. In firefox you go to about:config and look for Search for dom.ipc.plugins.flash.disable-protected-mode. Palemoon you gotta download that or edit flash file.


Also that wont work it says access denied for me when i run as administrator.

New Tobin Paradigm

Re: Anyone having flash crashing all time on youtube read th

Post by New Tobin Paradigm » 2015-03-28, 17:10

I THINK that pref hasn't worked for years.

User avatar
Moonchild
Project founder
Project founder
Posts: 39693
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Anyone having flash crashing all time on youtube read th

Post by Moonchild » 2015-03-28, 17:15

Why is it not built in? hah. do you know what kind of hoops (and dangerous ones at that) Firefox jumps through to get write access to that file?
I looked at the bugs involved bug #1121829, bug #1112709, bug #1108035 and a few more. They have Firefox hook into the Windows kernel, and hook into specific File Write routines to be able to access the file.
All this hooking just to access a file is bad. Also, if someone were to find a way to exploit this part of the browser, it would give read/write access from an internet-capable application to any and all files on a user's system, bypassing user account limitations. Potential can of worms I do not want to open, and I'd rather take a cautious approach.

The tool should work; it will elevate itself to administrator level if not run from an administrator account. If run from an administrator account it should be able to simply have direct access, unless some other software or very strict file system rights (which would also prevent you from directly editing it) hinders the tool.

And Tobin: you are incorrect. that pref is still valid, and Mozilla is building/has built direct mangling of it into Firefox.

EDIT: One thing I don't understand is why Mozilla doesn't talk to Adobe about removing this "feature" if all it does is cause issues, they want to disable it automatically from the browser, and all for a plugin only Mozilla uses...
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

New Tobin Paradigm

Re: Anyone having flash crashing all time on youtube read th

Post by New Tobin Paradigm » 2015-03-28, 17:34

Remember.. Mozilla wants to see the end of all plugins eventually and NPAPI is deprecated so why bother when you can just put in some hacks until the time comes to forbid it.

User avatar
Moonchild
Project founder
Project founder
Posts: 39693
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Anyone having flash crashing all time on youtube read th

Post by Moonchild » 2015-03-28, 17:38

Well call my tool a hack then. If you have a better idea that won't impact the browser's security by giving it out of bounds access to the file system, then I'm all ears.

"If the tool doesn't work, do it manually"
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

New Tobin Paradigm

Re: Anyone having flash crashing all time on youtube read th

Post by New Tobin Paradigm » 2015-03-28, 17:56

Well the tool doesn't have internet access or run untrusted content in an elevated state. This is where the tool is preferable than what Mozilla is doing... Guess that was my point.

Octopuss

Re: Anyone having flash crashing all time on youtube read th

Post by Octopuss » 2015-03-30, 06:40

So what exactly does the protected mode does? I do get flash player crashes from time to time and never found a way around it. Most of the symptoms mentioned in that article apply to me :D

User avatar
Moonchild
Project founder
Project founder
Posts: 39693
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Anyone having flash crashing all time on youtube read th

Post by Moonchild » 2015-03-30, 13:42

Flash protected mode makes the plugin dll spawn a separate .exe with restricted rights that actually runs the flash code, instead of just doing it normally.
With it on, the plugin-container in Pale Moon holds a minimal container itself, and the actual work is done in flash player .exes
With it off, the plugin runs directly in plugin-container.exe (which in itself is already a restricted environment) as a .dll plugin (like most/all other plugins do).
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

lyceus

Re: Anyone having flash crashing all time on youtube read th

Post by lyceus » 2015-04-01, 03:27

No surprise I had some crashes in other video pages as well *cough Oddysey² video ads cough* and I see my flash in Protected mode. Yes I am a lazy bum after a big PC crash again. So I will kidnap this info for the Spanish forum! XD

sanek

Re: Anyone having flash crashing all time on youtube read th

Post by sanek » 2015-04-23, 05:56

I'm still having flash crashes, even with protected mode disabled and ESR flash. Its some Flash/NPAPI compatibility issue on Windows 8 and I pretty much gave up on it now.

I am now using Greasemonkey + ViewTube as an alternative (please note that ViewTube+ seems to be an addon for it and does not work stand-alone - have not tried it much though)

This script lets you play videos on many popular sites using your desired method. It also has experimental MPEG-DASH support that works in Pale Moon and lets you play youtube videos in any quality (up to UHD 60fps). Simple points to get you started:
- To pick 1080p, click the button to the right of "Get" until it says FHD.
- Make sure to turn on "MD" to enable support for 1080p+ videos.
- VLC web plugin is supported, but it seems MD overrides your preferred player setting (2nd dropdown from the left) to always use the HTML5 player for 1080p+ videos.

Anyways, took me a while to find something that worked as an alternative (and works well for me), so hopefully others will find this valuable as well.

dark_moon

Re: Anyone having flash crashing all time on youtube read th

Post by dark_moon » 2015-04-24, 19:17

Thx for this great tip, sanek!

But i make somethink wrong maybe because the only video format which works is html5 and only 720p even if i choice UHD. (i check it with show video statistics).
Anyway i didn't try it with VLC.

But! i test the other script from the dev (Savetube) which link even to the webm format and this works with UHD and without VLC! Also you can watch the video too, just a click on the link instead of download it.

megaman

Re: Anyone having flash crashing all time on youtube read th

Post by megaman » 2015-04-24, 19:24

If the Greasemonkey script allows Annotations, then I'm all in.
There are points where the annotations imply something important...

Does the script also work on embedded videos on other sites?

Joel Cairo

Re: Anyone having flash crashing all time on youtube read th

Post by Joel Cairo » 2015-04-25, 12:12

Interesting.

Not that I'm here looking for a fix. Flash failure has been annoying, but does play eventually - often, though not always, after a browser close then re-open. Also, I - when it occurs to me (and I don't want to watch immediately) - download with Youtube Downloader HD. This was a recommendation by Paul Thurrott. Can't say if it downloads from other sites but it wouldn't surprise me. Where the original .flv allows, I download in 1080p saved as an .mp4. If not, then 720p. Maybe it's time - again - to remove Flash!

http://www.youtubedownloaderhd.com/

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3312
Joined: 2012-08-19, 20:32

Re: Anyone having flash crashing all time on youtube read th

Post by back2themoon » 2015-04-25, 14:03

That's a nice script, thanks for the tips sanek. Getting only 720p too, though (statistics + GET/download video). Tried HTML5 and VLC plugin (which crashes a lot).

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3312
Joined: 2012-08-19, 20:32

Re: Anyone having flash crashing all time on youtube read th

Post by back2themoon » 2015-04-26, 21:17

Oh, it has an MD (MPEG-DASH) experimental option which enables 1080p for HTML5. It worked with 2-3 videos I tried. Excellent, smooth non-Flash-drops-all-frames playback. :thumbup:

groundhog2
Fanatic
Fanatic
Posts: 153
Joined: 2012-08-30, 04:22
Location: USA

Re: Anyone having flash crashing all time on youtube read th

Post by groundhog2 » 2015-04-27, 10:29

For a YouTube replacement script none is better than YooTube Center, I think: https://github.com/YePpHa/YouTubeCenter ... er-Version You can even force the HTML5 player on YouTube itself or embedded players.

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3312
Joined: 2012-08-19, 20:32

Re: Anyone having flash crashing all time on youtube read th

Post by back2themoon » 2015-04-27, 10:55

It's great but I don't think it currently supports a way for HTML5 + DASH playback like ViewTube (360p-1080p).