Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

How to play SWF videos

Writer Matthew Harrington

I have swf flash videos on my USB that I can't get to run in Ubuntu. In Windows I was using a program called MpcStar / TigerPlayer.

I tried gnash SWF player in Ubuntu, but problem is that it doesn't let me control the video and it's very frustrating. It only plays it.

1

5 Answers

VLC can play .swf videos. You can install it from the Ubuntu Software Center.

3

I have VLC version 2.2.1 on Ubuntu 14.04. I have swf videos. When I open a swf file, it plays momentarily then fails. This is my personal experience. I just upgraded to VLC 2.2.1. I hope other posters make comments from personal experience/knowledge, not just saying things because it seems to be true.

0

Try opening it in Firefox. It seems to work out well.

Option 1: Use Google Chrome (more straightforward). Download it here.

Option 2: Use another web browser such as Mozilla Firefox, and install the flash plugin (from omgubuntu.co.uk):

  1. Open Software & Updates.

  2. Switch to ‘Other Software‘ tab.

  3. Click/check the ‘Canonical Partners’ repository.

  4. Refresh your software sources when prompted.

  5. Install adobe-flashplugin

Here is a quick HTML code that plays a swf file called "lesson1.swf". In a pinch you can modify it for your own needs:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xml:lang="en" lang="en"> <head> <title>Play swf file</title> <script type="text/javascript" src="swfobject.js"></script> <style type="text/css"> body { background-color: #1a1a1a; font: .8em/1.3em verdana,arial,helvetica,sans-serif; text-align: center; } #media { margin-top: 5px; } #noUpdate { margin: 0 auto; font-family:Arial, Helvetica, sans-serif; font-size: x-small; color: #cccccc; text-align: left; width: 210px; height: 200px; padding: 5px; } </style> </head> <body> <div> <div> </div> </div> <script type="text/javascript"> var so = new SWFObject( "lesson01.swf", "csSWF", "800", "618", "8", "#1a1a1a"); so.addParam( "quality", "best" ); so.addParam( "allowFullScreen", "false" ); so.addParam( "scale", "noscale" ); so.addParam( "allowScriptAccess", "always" ); so.addVariable( "autostart", "false" ); so.write("media"); </script> </body>
</html>

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy