Tech Tip: View Apple Movie Trailers with Firefox on Linux
A few months ago Apple updated their movie trailers site. This update restricts the viewing of Apple Trailers on non-approved systems. Unfortunately, as Linux users, we fall into the category. Thankfully with the use of a FireFox plug-in known as "User Agent Switcher" and a little know how we can still enjoy these trailers and decide what movies we would like to see at the theater.
The plug-in can be found here. After installing it and restarting Firefox you will find a new option under "Tools" in Firefox labeled "Default User Agent". In the sub menu you will find a short list of user agents. Next we need to import one to make the site think that we are really using QuickTime and not something like mplayer or totem. The import is an XML file, the QuickTime User Agent XML file is here. Or, if you prefer you can copy and paste the folowing into a text file and save it as an XML file:
<useragentswitcher>
<useragent
description="Quicktime 7.6.2"
useragent="QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)"
appcodename=""
appname=""
appversion=""
platform=""
vendor=""
vendorsub=""/>
</useragentswitcher>
Once you have the file saved to your computer go to "Tools" > "Default User Agent" > "Edit User Agent" in Firefox. Select "Import" and import the XML file. Click "OK". You should now see "Quicktime 7.6.2" in the list of user agents. However, if you select it and go to a trailer on the Apple site the video will still not play by default. You must click the option button in the player's toolbar and select copy. Paste the address of the video into Firefox's address bar and hit enter. You should now be watching the Trailer in your Firefox browser.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- Reply to comment | Linux Journal
2 hours 58 min ago - Reply to comment | Linux Journal
3 hours 14 min ago - Favorite (and easily brute-forced) pw's
5 hours 5 min ago - Have you tried Boxen? It's a
10 hours 57 min ago - seo services in india
15 hours 29 min ago - For KDE install kio-mtp
15 hours 29 min ago - Evernote is much more...
17 hours 29 min ago - Reply to comment | Linux Journal
1 day 2 hours ago - Dynamic DNS
1 day 2 hours ago - Reply to comment | Linux Journal
1 day 3 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



Comments
And people ask me why Apple
And people ask me why Apple is evil. Perhaps one should realize how much Apple LOATHES interoperability and user freedom in ANY form whatsoever.
Anyway, is Apple Movie Trailers even worth this trouble?
Quicktime Trailers / Ubuntu 9.10 not working,
Hello everyone,
I have no idea how old this news is but for a month gecko player can´t play quicktime trailers anymore. I use the user agent addon and for a while it works great but not anymore, so no quicktime trailer viewing for me. But today I I change some numbers in my user agent settings for quicktime. what I did was this, change the numbers ´´quicktime 7.6.2. to quicktime 7.6.3. and it worked again. Then it hit me, I know I´m no genius with PC´s but offcourse apple releases updates so what I think you have to do is follow up the update versions of the official quicktime releases and change those numbers in your user agent quicktime settings. This is what I think, I could be wrong and mistaken but so far it works again.
Gtz The Prodejeff
Good one this is what i use
Right click copy and in a terminal
mplayer -cache 200000 -user-agent 'QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)' http://[url to the trailer]
Mind that some also have parameters to be removed like ?width=300&height=600 just remove them from the url when pasting.
Found this tip in another forum somewhere.
Try www.apple.com
So far as I remember, it was possible to view the trailers by finding the right link (which is straightforward for some trailers, not so much for others); and then changing the address from movies.apple.com to www.apple.com .
At least I could view several trailers this way....
It also appeared that people at totem, xine, etc. were working at solving the problem.
Don't worry about what Apple are doing.
I build www.findanyfilm.com ( i'm not really plugging it as I don't work there anymore.) Anyway my point is that they have loads of trailers, and is largely build on open source technology. Mind you, there is flash, which I'm not too keen on.
Works without add-ons
It works fine with Firefox 3.5.5 without any add-on.
All ok here
Since I changed mplayerplug-in to the "new" gecko-mediaplayer it works like a breeze :)
But this info could be handy in the next Apple update though :-/
worked ok here
ran 1 just fine without plug-in on ubuntu 9.10 and firefox 3.5.5
seems to work just fine for me
I just viewed the trailers with both Chromium and Firefox using Fedora 12 - no need for the user agent switch...
I'm glade they posted this.
I'm glade they posted my tech tip.
When I found out that Apple did this I was so pissed off.
But, just like everything else with Open Source, you can do anything if you just know how. And since Open Source is a community, it's a lot easier to learn how to do something.
Now it's time for me to plug my site:
www.FilmsByKris.com
Everything about Open Source Media
http://filmsbykris.com/
Everything you ever need to know about Open-Source Software.
Thumbs up!
Wow, it's just like you read my mind. I was just wondering why on earth firefox keeps crashing when I try to watch apple trailers.
Your solution works great! Thanks!