How can I play a .swf file using Google Chrome?

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.


Solution 1:

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"\AppData\Local\Google\Chrome\User Data\PepperFlash\"Version Number"\ Then rename the pepflashplayer.dll to pepflashplayerX.dll.

Solution 2:

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

<object>
    <embed src="file.swf" width="100%" height="100%"></embed>
</object>

Then opened the file in Chrome.

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