Friday, January 29, 2010

Flash player upload issues on Mac

The upload page on shwup used to be powered by Aurigma, a Java based tool that allows for multiple file selections and some other funky technical stuff. Since our last February release, we replaced this by our own custom uploader, written in Flash.

From Flash player 8 onwards, file uploads are natively supported (albeit with some quirks regarding cookie passing in browsers other than IE and nasty security fixes from version 10 onwards). Together with the ExternalInterface, building a more powerful uploader tool was within our grasp.

Within the first few weeks of deployment we received some feedback, predominantly from the Mac users, that the uploader simply wasn't working for them. Having no other means to upload files to shwup (other than via email) this was very painful for those users.

So we went ahead with eliminating the differences:
  1. use the same browser
  2. use the same Flash player
This didn't pinpoint a particular client side issue that could be held responsible. However, performing the same tests on our test and staging environment didn't exhibit the same issue; it actually worked!

Turning to the live server configuration it slowly became apparent that this problem was double sided; the combination of client platform and server configuration was causing some issue.

To make sure our user's address bar always contains "www.shwup.com" when visiting our website we use mod_rewrite to redirect any requests without the proper address using the following rule:

RewriteCond %{HTTP_HOST} !^www\.shwup\.com$ [NC]
RewriteRule ^(.*)$ http://www.shwup.com$1 [R=301,QSA,L]

We thought that this couldn't possibly cause an issue until we switched on the debug option; it became clear that Flash player was passing "www.shwup.com:80" as the HTTP Host header; obviously this breaks the above regular expression and causes a redirect after which the Flash player happily reports that the upload was done without issues. Funny enough, this only happens on the Mac. Some developers have already reported this issue on Adobe's file upload article.

The following rule change fixed the issue:

RewriteCond %{HTTP_HOST} !^www\.shwup\.com(:\d+)?$ [NC]
RewriteRule ^(.*)$ http://www.shwup.com$1 [R=301,QSA,L]

After spending this much time we can only say "assume nothing" when it comes to cross platform coding.

Source: http://shwup.blogspot.com/2009/04/flash-player-upload-issues-on-mac.html

Thursday, January 28, 2010

How-To: Install Flash Player 10.1 Beta 2 in Ubuntu 9.10 Karmic Koala

Adobe Flash Player 10.1 Beta 2 was released earlier this year, on December 17 at the Adobe MAX 2009. This release comes with several new features and numerous bug fixes.

To install Flash Player 10.1 Beta 2 in Ubuntu 9.10, just follow the steps below:

First, remove your existing Flash plugin. Do this depending on whether you installed Flash from the repositories or manually. If you installed Flash from the Ubuntu repositories, typing:

sudo apt-get remove --purge flashplugin-installer

should remove your current installation of Flash. If Flash was installed manually, the plugin should be located in the ~/.mozilla/plugins directory, where ~ is the home directory. So, to remove it:

rm -f ~/.mozilla/plugins/libflashplayer.so

Next, download the archive for the new Flash player from here (direct link here), or alternately you can type in a terminal:

wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_1_p2_linux_121709.tar.gz

Make sure the current working directory is the one where you saved the archive and uncompress it:

tar -xzf flashplayer10_1_p2_linux_121709.tar.gz

Next, create the ~/.mozilla/plugins directory (if it doesn't already exist):

mkdir -p ~/.mozilla/plugins

And copy the plugin inside it:

cp install_flash_player_10_linux/libflashplayer.so ~/.mozilla/plugins

Now restart Firefox and this should be all.


Source: http://tuxarena.blogspot.com/2009/12/how-to-install-flash-player-101-beta-2.html

Wednesday, January 27, 2010

Google's Nexus One will have Flash Player

Google introduced their new Nexus One phone today -- watch Adrian Ludwig preview an early version of Flash Player 10.1 running on the new device.



As we announced at MAX, Google has joined the Open Screen Project to bring another level of openness to the Web that is good for both developers and users. Many of Google's technologies such as YouTube, Google Chrome, and soon Android will include Flash Player, enabling users to consume Flash media content seamlessly.

The Nexus One features Google's Android software, HTC's hardware design, and QUALCOMM's Snapdragon chipset. All of these companies participate in the Open Screen Project and we've been working with our partners to bring a high performing Flash Player 10.1 to Android and other devices.

Source : http://blogs.adobe.com/conversations/2010/01/googles_nexus_one_will_have_fl.html

Tuesday, January 26, 2010

Motorola Changing Mobile Web Browsing Experience with Adobe Flash Platform

Adobe Flash Player 10.1 to bring visually immersive, uncompromised Web browsing to Motorola smartphone portfolio.

LAS VEGAS - CES – Motorola, Inc. (NYSE: MOT) announced that it is working closely with Adobe to bring Adobe® Flash® Player 10.1 to Motorola’s smartphones as part of the Open Screen Project. Adobe has been working with the DROID by Motorola, released to consumers in November 2009, as it develops Flash Player 10.1 for the Android platform. Adobe Flash Player on Motorola smartphones will deliver uncompromised Web browsing – with its rich applications, games and video – to consumer’s fingertips, enabling them to be more connected and more mobile.

“Consumers demand that the same high-quality Web experience they know from the desktop port easily to their mobile experience as well,” said Sanjay Jha, co-CEO of Motorola and CEO of Motorola Mobile Devices. “Working with Adobe to bring rich Flash content to our smartphone portfolio will revolutionize how consumers experience the mobile Web by making it more vivid and interactive than ever before.”

“Flash is an integral part of the Web and delivers rich content, applications and videos to millions,” said David Wadhwani, vice president and general manager, Platform Business at Adobe. “By working with us to bring virtually all Flash content on the Web to its devices, Motorola is ensuring consumers have an uncompromised Web browsing experience no matter where they are.”

Adobe Flash Player 10.1 is the first consistent browser runtime release of the Open Screen Project. On Motorola smartphones, Adobe Flash Player will make the Web experience more compelling, interactive and visually immersive for users by delivering unique applications, content and videos across devices. As a participant of the Open Screen Project, Motorola will be deploying the full Flash Player broadly across the Android product portfolio. Motorola’s Android products will have Flash Player updates available once Adobe releases Flash Player 10.1, expected in the first half of 2010.

In addition, both Motorola and Adobe are strong supporters of the developer and content creator communities. By enabling Flash capabilities on Motorola smartphones, it opens up creativity and innovation for those who use Adobe’s industry leading Creative Suite tools.

Motorola’s work with Adobe in the Open Screen Project began in 2009. Integration of Adobe Flash Player 10.1 browser extensions in a portion of the device portfolio is expected in the first half of 2010. A Flash Player 10.1 beta demo on the Motorola Droid can be viewed at http://www.adobe.com/devnet/flashplayer/articles/mobile_demos_fp10.1.html.

Open Screen Project
Led by Adobe, the Open Screen Project includes close to 50 industry leaders working together to provide a consistent runtime environment across mobile phones, desktops and other consumer electronic devices. The initiative addresses the challenges of Web browsing and standalone applications on a broad range of devices, and removes the barriers to publishing content and applications seamlessly across screens. For more information about the Open Screen Project visit www.openscreenproject.org.

Adobe Flash Platform
The Adobe Flash Platform is the leading Web design and development platform for creating expressive applications, content, and video that run consistently across operating systems and devices and reach over 98 percent of Internet-enabled desktops. Flash Player 10 was installed on more than 93 percent of computers in just the first ten months since its release. According to comScore Media Metrix, approximately 75 percent of online videos viewed worldwide are delivered using Adobe Flash technology, making it the No. 1 format for video on the Web. Major broadcasters and media companies including Disney.com, MLB.com and DIRECTV rely on the Adobe Flash Platform for delivering video on the Web and the platform powers social network sites such as YouTube and MySpace. For more information about the Adobe Flash Platform visit www.adobe.com/flashplatform.

source : http://justamp.blogspot.com/2010/01/motorola-changing-mobile-web-browsing.html

Monday, January 25, 2010

Install Adobe Reader in Ubuntu 9.10

You can install the official Adobe Reader in Ubuntu 9.10 (Karmic Koala).
Download .deb package from here called Linux- x86 (.deb)

The download weighs in at a heavy 60.5 MB

The system requirements are:

  • 32-bit Intel Pentium processor or equivalent
  • LSB (Linux Standard Base) 3.1 compliant systems including Red Hat® Linux WS 5, SUSE® Linux Enterprise Desktop (SLED) 10, and Ubuntu 6.10
  • GNOME or KDE Desktop Environment
  • 512MB of RAM (1GB recommended)
  • 125MB of available hard-disk space (additional 75MB required for all supported font packs)
  • GTK+ (GIMP Toolkit) user interface library, version 2.6 or later
  • Firefox 1.5 or later, Mozilla 1.7.3 or later
Source : http://helpforlinux.blogspot.com/2009/10/install-adobe-reader-in-ubuntu-910.html

Friday, January 22, 2010

Install Flash Player For Ubuntu Linux

Type the following command to install flash player:

$ sudo apt-get install flashplugin-nonfree

Now flash player should be working. Visit youtube or any other site to view flash content.

Troubleshooting tip

Update: This issue only relevant to older Ubuntu Linux version such as 6.04.

Some people may find voice is not working with newly installed flash player. Type following commands to solve this problem (thanks to macewan.org):
$ sudo apt-get install alsa-oss
$ gksudo gedit /etc/firefox/firefoxrc

Find line that read as FIREFOX_DSP and set to:
FIREFOX_DSP="aoss"

Save and close the file.

Close Firefox and restart it again.


Source : http://www.cyberciti.biz/faq/ubuntu-linux-how-to-install-flash-player-for-firefox/

Thursday, January 21, 2010

Installing Flash Player without Admin Privilleges

First you have to download the file, the change the extn as .zip (try to rename the file extension)
and extraxt and copy NPSWF32.dll and flashplayer.xpt and paste in the plugin dir of firefox , re start your browser walla!Enjoy...


other Sources : http://enomem.blogspot.com/2009/07/install-flash-player-without-admin-priv.html