Re: Is it possible to implement "click to play" for Adobe Flash in XULRunner app?

2017-01-17 Thread 段垚
Thank you very much! It looks a bit complicated. Maybe I'd consider a pure front-end solution instead. 在 2017/1/14 0:06, Benjamin Smedberg 写道: You have to manage the UI yourself. Firefox does this with a combination of applying an overlay to the disabled Flash which shows the grey UI, plus

Re: Is it possible to implement "click to play" for Adobe Flash in XULRunner app?

2017-01-13 Thread Benjamin Smedberg
You have to manage the UI yourself. Firefox does this with a combination of applying an overlay to the disabled Flash which shows the grey UI, plus script that sets permissions and activates plugins appropriately. Because of e10s, that code is split between multiple files, but you should try to

Is it possible to implement "click to play" for Adobe Flash in XULRunner app?

2017-01-11 Thread 段垚
Hi, In Firefox, "click to play" can be enabled by setting pref "plugin.state.flash" to 1. However, when I do this in a XULRunner app, flash plugin is disabled completely. Is this feature unavailable to XULRunner? If so, how can I implement it? Thanks. Duan Yao.