Chrome Download Swf Instead Of Playing

Then in game.html have code: Jun 15, 2017. For the last couple months I've been having issues playing SWF files in Chrome on my Mac. Before the SWF would play when I drag and drop. To download SWF files in Chrome without the express help of any extensions. Instead of searching for the specific SWF file in the jumble of code, click on the. This Video Tutorial guide you, how to fix flash file auto download in Chrome. Fix for Chrome downloads flash (swf) files instead of playing Note: For Sample Papers you will need to have Adobe. I was trying to play an swf file on Chrome, but when I dragged it into the new tab and when I tried to open it using Ctrl+O, it didn't play the file and instead decided to download it again.

  1. Chrome Download Swf Instead Of Playing Card
  2. Chrome Download Swf Instead Of Playing Games
  3. Chrome Swf Files
  4. Chrome Is Downloading Swf Files Instead Of Playing Them
  5. Run Swf In Chrome
  6. Chrome Won't Play Swf Files

I have a *.swf file, and I don't have flash player installed on my Windows XP machine.

Is there any way to play the .swf file using Google Chrome or is there any web app that allows me to play .swf? I don't mind installing any browser plugin, but I do mind installing any desktop application.

GravitonGraviton

6 Answers

Chrome Download Swf Instead Of Playing Card

Chrome has a built in Flash Player called PepperFlash.Go To chrome://plugins/ and ensure that 'Adobe Flash Player' is Enabled.You can also go to chrome://components/ to ensure that it is updated.If you still have problems go to 'Your Root'Users'Your UserName'AppDataLocalGoogleChromeUser DataPepperFlash'Version Number'Then rename the pepflashplayer.dll to pepflashplayerX.dll.

CatttdaddyCatttdaddy

I had created a file flash.html with this content:

Then opened the file in Chrome.

Otherwise when I was dragging an swf file to Chrome, it was just downloading the file.

warvariucwarvariuc

You can play .swf files with Google Chrome. Just drag the file from its current location to your current tab.

boo hooboo hoo

Catttdaddy's answer is basically correct, but with Chrome version 57 and later, plugins are deprecated (for more information, see this) and you may need to enable Flash in another way, via Chrome Settings. Without it enabled, the file will be downloaded instead of opened. To enable Flash in Chrome:

  • Enter the URL chrome://settings/
  • Search for 'Flash'
  • Under Privacy, click 'Content Settings'
  • Under Flash, choose option 'Allow sites to run flash'

You may want to change that back to your original setting for security or other reasons after you've opened the SWF file.

Blue RaspberryBlue Raspberry
Chrome Download Swf Instead Of Playing

For Linux users having this issue I have created the following script as a workaround:

Before proceeding, you must make sure that pepper-flash is installed for Chrome/Chromium, (flashplugin for Firefox) the only way to check (without using the workaround below that is) is to play a flash file on the internet. (or in Firefox, go to about:plugins and see if it has 'Shockwave Flash')

(alternatively compatible with dash)

To use the script, save it as swftohtml.sh(can be any name, does not have to end in .sh) at any location you desire, then to convert it into a runnable command either make an alias for it in bashrc, or copy it to /usr/bin/. Remember to run chmod +x swftohtml.sh to make it executable.

The script when run with no arguments will look in the current folder for an swf file and make a corresponding html file that can be used to run this swf file in a browser. If there are more than 1 swf files in the folder, it will default to the last one (e.g. if you have filename1.0.swf and filename2.0.swf, it will default to filename2.0.swf)

Alternatively to target a specific swf file, you can enter the filename (or complete path to file) as an argument for the script and it will use that instead. (e.g. swftohtml.sh filename 1.0.swf)

If you want to fully automate the script:

To open swf files automatically in your browser and automate removal of the resulting html file after it has been used, uncomment one of the following lines at the bottom of the script (depending on your browser):

The script will now open the html file in your browser as soon as it has been created. If there is an existing instance of your browser running, it will delete the html file in 20 seconds (giving you ample time to tell the browser to open the file with it's flash plugin). If there is no existing instance of your browser, the file will instead be deleted 20 seconds after the browser is closed.

With this set, you can configure SWF files to open with the script, and the process is now fully automated so that you can open SWF files directly, without ever worrying about creating (or deleting) the html files by hand, in other words, it will behave like it should now. (Keep in mind that there may be a few corner cases where the html file is not deleted though, when this happens you can safely ignore it.)

For Firefox Users:

The Firefox version was a bit trickier, it requires wmctrl and xdotool to be installed. The reason for this is that for firefox to play local swf files this way you need to disable plugins.http_https_only in about:config, the script automatically disables it, opens the flash file, then re-enables it, because this is a setting most people will generally want to keep enabled. The browser needs to be open before the command is run. If you think it is likely your firefox browser will be closed when you run the command, replace the line with this:

It will now give the browser 1 second to launch before running the rest of the script. (May need to be adjusted for slower computers).

The Firefox version of the script will always delete the file after 20 seconds.

I did some rudimentary performance testing and these are my results:

  • Chrome/Chromium Pepper Flash (PPAPI): Fastest
  • Adobe Flash Projector (NPAPI)(Wine): Fast
  • Firefox Flashplugin (NPAPI): Slowest

As for stability, there are corner cases where PPAPI will run into bugs/errors that NPAPI does not, but they are rare.

The performance between Pepper Flash and Flash Projector was rather small (It's noticable, but barely) whereas the performance of the firefox flash plugin was noticably slower than the rest for some reason.

Thus, if playing flash games is the goal, I would recommend using chromium with pepper flash installed over the rest, in general. For other tasks it's unlikely that it will matter.

CestarianCestarian

Unless mistaken, you need the plugin to play SWF files as the SWF requires the actionscript library's to function.

FergusFergus

Chrome Download Swf Instead Of Playing Games

Not the answer you're looking for? Browse other questions tagged google-chromeswf or ask your own question.

32,325
[ please vote 5 star(★★★★★) & post your comment! ]
[ About SWF Player ]
You can play .swf file by this Player. (support android kitkat!)
[ How To install Flash Plugin ]
You need to install Adobe® Flash® Player Plugin before using this player.
http://bit.ly/VdRhpQ
You can download flash player plugins another site below!
adobe archives : http://adobe.ly/UZQeKa
xda forum : http://bit.ly/12J5nnC
[ Feature ]
* can play swf file
* support Zoom in/out
* support play/stop controller
* support fullscreen
* support multi touch virtual keypad.
* support Virtual Mouse
* support file browser
* support advanced settings (wmode, background color, wake-lock, rotaion, quality, scale ... etc)
* support swf file sharing
* support Gmail file attach
* support honeycomb device!
[ trademarks ]
Flash®is registered trademarks of Adobe® Systems, Inc.

Chrome Swf Files

Collapse
32,325 total
4
2
Read more
Chrome Is Downloading Swf Files Instead Of Playing Them
12M
5,000,000+
1.84 free (build 489)
Chrome Download Swf Instead Of Playing
4.0 and up

Run Swf In Chrome

Users Interact

Chrome Won't Play Swf Files

Google Commerce Ltd
2504-1902, 93-17, Dongtansancheok-ro, Hwaseong-si, Gyeonggi-do, South KoreaPostal code 18496