How to watch videos in Amazon Prime Instant Video?

Ubuntu 13.10 does not have HAL in it's repos, so you might be able to get it at mjblenner's ppa. I have not tried to get Amazon Instant Video to run yet, but thought I would throw this out here anyway.

sudo add-apt-repository ppa:mjblenner/ppa-hal
sudo apt-get update
sudo apt-get install hal

Output:

The following extra packages will be installed:
  hal-info libhal-storage1 libhal1
The following NEW packages will be installed:
  hal hal-info libhal-storage1 libhal1

Simply close Firefox. Reopen it. And, you're done!

Another hal-related option (should purge previous, if installed, but I could not get repo below to work with 15.04 Vivid):

sudo add-apt-repository ppa:mjblenner/hal-flash ## Trusty & Utopic
sudo apt-get update
sudo apt-get install libhal1-flash

Another thing to try would be to install Firefox through PlayonLinux, including Silverlight and Adobe Flash. PlayonLinux seems to be up to 14.04 Trusty Tahr right now.(Aug2015)


I had this same problem. For some reason libhal is not in the repos!!! So, you must follow the solutions on http://ubuntuforums.org/showthread.php?t=2144347&p=12811464#post12811464 Follow them, and make sure you have spaces in the commands (i.e. sudo(SPACE)mkdir(SPACE) && rm(SPACE)-rf(SPACE)fileName)

Here is what the site says (with some minor editing):

You can get these sites (websites that use Digital Rights Management, like Amazon) working in Ubuntu but it is gettting harder and harder e.g. the 'hal' packages have now been deleted from the ubuntu 13.10 repos !

here is what you need to do:

  1. Make sure you are using firefox or chromium. If you are using chrome make sure the pepper flash plugin is turned off
  2. if using ubuntu version 13.10 must download and install these raring(13.04) .debs because they have been deleted from the 13.10 repos:

    • libhal1
    • libhal-storage1
    • hal
  3. Once the debs are installed, then patch hal by executing the following shell commands: (this will make the appropriate directories, and start hald in the backgound)

    sudo mkdir /etc/hal/fdi/preprobe
    sudo mkdir /etc/hal/fdi/information
    /usr/sbin/hald --daemon=yes --verbose=yes
    
  4. close the browser and clear the Adobe Access directories by executing the following shell commands: (rm -rf removes all files, recursively (r), which means it includes all subdirectories and forces(f) them to be removed)

    rm -rf ~/.adobe
    
  5. need to reset licence files (this is critical too !): http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager08.html

  6. test via http://drmtest2.adobe.com:8080/SVP/SampleVideoPlayer_FP.html#

  7. paste in this video url: http://drmtest2.adobe.com:8080/Content/anonymous.f4v

Hopefully hal will be restored to the ubuntu repos.


HAL is currently deprecated, but Adobe Flash needs it for playing DRM content (for whatever reason). Fortunately there's a shim that provides just enough HAL API for Flash to work; it's available at https://github.com/cshorler/hal-flash — packages for Ubuntu and other systems can be found at https://build.opensuse.org/project/repositories/home:chorler:branches:devel:openSUSE:Factory

I haven't tried it on Ubuntu, but I can confirm that on Gentoo installing this makes Amazon Prime work.

Tags:

Flash