14
8
I used to be able to drag .swf files into Chromium, and they would play just fine.
Recently, that stopped working. Doesn't work in Chromium or Iceweasel. Both browsers instead prompt to download the .swf file. Both have Flash Player enabled, and the .swf MIME-type listed on their plugins pages. I tried drag-and-drop and Ctrl+O, neither work. Is there something I can change to get the browsers to recognize the MIME-type?
Using Chromium 32 and Iceweasel 24 on Debian Jessie.
1Wow, that worked! Thanks! I'm glad I happened to wander back on to Super User and find this. – soren121 – 2014-08-02T03:04:42.843
1Worked for Ubuntu 14.04 with google-chrome 40.0 - thanks! – Jeff Ward – 2015-03-04T15:34:06.193
1Worked with Ubuntu 14.04, and fixed both chrome 46.02.2490.86, and Firefox 42.0 – Juan Carlos Muñoz – 2015-12-01T16:24:37.950
2No need to restart Google Chrome afterwards. – pts – 2016-01-25T09:35:46.217
2
Heh glad to see my fix from the arch forums is helping people this much, sad to see this hasn't been actually fixed over at chromium yet (I created a bug report almost 2 bloody years ago! and this is NOT hard to fix...) https://bugs.chromium.org/p/chromium/issues/detail?id=369015
– Cestarian – 2016-02-21T01:11:33.3531Also edited in a script to automate this process, enjoy. (saves backup of the original file, although this is not necessary since the original file can be retrieved by reinstalling the shared-mime-info package) – Cestarian – 2016-02-21T01:30:40.507
1Worked with Linux Mint 17.3 with google-chrome 52.0.2743.116, chromium 51.0.2704.79, Firefox 48.0. – Paolo Gibellini – 2016-08-09T22:57:11.733
On Ubuntu 16.04 I actually had to restart Chrome to get it to work. – ashes999 – 2016-10-21T21:20:24.757
1Also worked on Fedora 24, Chrome 55. No restart required. – Raman – 2016-11-22T21:25:06.637