Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts

Thursday, April 25, 2013

Getting Twitchy - Fixing Flash Video and Twitch TV on Cyanogenmod 7.2

I've been very pleased with my CyanogenMod installation, apart from one bug; Flash video did not play correctly, preventing me from watching streams on Twitch TV. Every time I tried to watch a stream, the video would fail to load and I would get booted back to the app's main screen.

I found a lot of people online suggesting a fix that involved changing the permissions for the Flash plugin configuration; there's a YouTube video and posts on the CyanogenMod and XDA Developer forums describing the steps. However, this fix didn't work for me and I was fairly sure that simply updating the Flash player would resolve the issue.

Finding the latest version of Flash player turned out to be rather difficult, since Adobe withdrew it from the Play store. Fortunately, I was directed by another CyanogenMod forum post to the Adobe Flash archive download page, where I was able to locate an apk for my build of Android (Gingerbread).

Sunday, June 20, 2010

Adobe Flash Plugin on Fedora 13 x86_64

I upgraded my work laptop to Fedora 13 over the weekend. As always, I was impressed with the new features and desktop theme! In order to extend the core system's functionality, I used the Personal Fedora 13 Install Guide. There has been a version of these guides produced for each release of Fedora as far as I'm aware and they're a great resource for adding all the additional apps and utilities you might need to a fresh install of Fedora.

When I tried to install the Adobe Flash Plugin, I followed the guide as usual (in fact, I've performed the installation of the plugin on Red Hat systems so many times, it has become second nature). However, I was greeted by an error message:


Transaction Check Error:
package nss-softokn-3.12.4-19.fc13.x86_64 (which is newer than nss-softokn-3.12.4-17.fc13.i686) is already installed


There appeared to be a clash between the 64bit (x86_64) and 32bit (i686) versions of the nss-softokn package. When installing 32bit software on a 64bit distro release, you often have to install some additional 32bit libraries to support the application in question. In this case The 32bit version of the nss-softokn package was required in order for the 32bit Flash plugin to be installed.

A bit of searching online revealed that the workaround was to simply downgrade the 64bit nss-softokn package to the same version as the 32bit package that yum was attempting to install:


[root@redpill ~]# yum downgrade nss-softokn-3.12.4-17.fc13
Loaded plugins: presto, priorities, refresh-packagekit
Setting up Downgrade Process
4 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package nss-softokn.x86_64 0:3.12.4-17.fc13 set to be updated
---> Package nss-softokn.x86_64 0:3.12.4-19.fc13 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================
Downgrading:
nss-softokn x86_64 3.12.4-17.fc13 fedora 168 k

Transaction Summary
=====================================================================================================================
Remove 0 Package(s)
Reinstall 0 Package(s)
Downgrade 1 Package(s)

Total download size: 168 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 168 k
nss-softokn-3.12.4-17.fc13.x86_64.rpm | 168 kB 00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : nss-softokn-3.12.4-17.fc13.x86_64 1/2
Cleanup : nss-softokn-3.12.4-19.fc13.x86_64 2/2

Removed:
nss-softokn.x86_64 0:3.12.4-19.fc13

Installed:
nss-softokn.x86_64 0:3.12.4-17.fc13

Complete!


--------------------------------------------------

[root@redpill ~]# yum install flash-plugin
Loaded plugins: presto, priorities, refresh-packagekit
4 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package flash-plugin.i386 0:10.1.53.64-release set to be updated
--> Processing Dependency: libsmime3.so for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libsmime3.so(NSS_3.4) for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libssl3.so for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libsmime3.so(NSS_3.2) for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libnss3.so(NSS_3.11) for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libnss3.so(NSS_3.9.2) for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libnspr4.so for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libnss3.so(NSS_3.2) for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libssl3.so(NSS_3.2) for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libnss3.so(NSS_3.6) for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libplc4.so for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libnss3.so for package: flash-plugin-10.1.53.64-release.i386
--> Processing Dependency: libplds4.so for package: flash-plugin-10.1.53.64-release.i386
--> Running transaction check
---> Package nspr.i686 0:4.8.4-2.fc13 set to be updated
---> Package nss.i686 0:3.12.6-4.fc13 set to be updated
--> Processing Dependency: nss-softokn(x86-32) = 3.12.4 for package: nss-3.12.6-4.fc13.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.12.3) for package: nss-3.12.6-4.fc13.i686
--> Processing Dependency: libnssutil3.so for package: nss-3.12.6-4.fc13.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.12.5) for package: nss-3.12.6-4.fc13.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.12) for package: nss-3.12.6-4.fc13.i686
--> Running transaction check
---> Package nss-softokn.i686 0:3.12.4-17.fc13 set to be updated
---> Package nss-softokn.x86_64 0:3.12.4-19.fc13 set to be updated
---> Package nss-util.i686 0:3.12.6-1.fc13 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================
Installing:
flash-plugin i386 10.1.53.64-release adobe-linux-i386 4.5 M
Installing for dependencies:
nspr i686 4.8.4-2.fc13 fedora 112 k
nss i686 3.12.6-4.fc13 fedora 741 k
nss-softokn i686 3.12.4-17.fc13 fedora 169 k
nss-util i686 3.12.6-1.fc13 fedora 45 k
Updating for dependencies:
nss-softokn x86_64 3.12.4-19.fc13 updates 168 k

Transaction Summary
======================================================================================================================
Install 5 Package(s)
Upgrade 1 Package(s)

Total size: 5.7 M
Total download size: 168 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 168 k
nss-softokn-3.12.4-19.fc13.x86_64.rpm | 168 kB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : nspr-4.8.4-2.fc13.i686 1/7
Installing : nss-util-3.12.6-1.fc13.i686 2/7
Updating : nss-softokn-3.12.4-19.fc13.x86_64 3/7
Installing : nss-softokn-3.12.4-17.fc13.i686 4/7
Installing : nss-3.12.6-4.fc13.i686 5/7
Installing : flash-plugin-10.1.53.64-release.i386 6/7
Cleanup : nss-softokn-3.12.4-17.fc13.x86_64 7/7

Installed:
flash-plugin.i386 0:10.1.53.64-release

Dependency Installed:
nspr.i686 0:4.8.4-2.fc13 nss.i686 0:3.12.6-4.fc13 nss-softokn.i686 0:3.12.4-17.fc13 nss-util.i686 0:3.12.6-1.fc13

Dependency Updated:
nss-softokn.x86_64 0:3.12.4-19.fc13

Complete!
[root@redpill ~]#



After restarting my browser, I was able to access Flash content online. The package manager even prompted me afterwards to upgrade the 64bit version of the nss-softokn back to version 3.12.4-19 and doing so seemed to have no impact on my ability to view Flash content.