LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-14-2010, 09:39 AM   #16
agi93
Member
 
Registered: Jan 2010
Posts: 101

Original Poster
Rep: Reputation: 17

I found the problem. After installing gecko-mediaplayer (and its dependency gnome-mplayer) The video controls for the videos on apple.com show up. The video itself never actually loads, though, but this is Apple's fault. Apparently they are blocking access to their videos unless Quicktime is present in the user agent string.

See: http://www.reddit.com/r/linux/commen...r_linux_users/

Google for similar articles.


This is what the top commenter on that reddit post says:

Quote:
I took a quick look, and apple is just redirecting you if you don't have the correct user agent in your HTTP request.
if you open this link in firefox, it will go to apple trailer section.
http://movies.apple.com/movies/fox/a...tsr_h1080p.mov
If you change your useragent to one that it will recognizer.
QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)
bingo! video is downloaded by the browser and you can watch it.
Since totem is open source there is no reason we can't just change the useragent identification it uses.
EDIT: After poking around you don't need the full useragent string. All it cares is that it is Quicktime and has the version.
QuickTime/0.0
This also works.
EDIT: I wrote patch for gstreamer that will make it mask itself as QuickTime on apple's website. Proof that it works!
I'm not on my Slackware box right now, so I can't test this, but my current user agent string from about:config is Slackware/Firefox/3.6. Would I change that to QuickTime/0.0/Slackware/Firefox/3.6, or is it talking about a different option in about:config?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-15-2010, 11:03 AM   #17
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Rep: Reputation: 29
Quote:
Originally Posted by agi93 View Post
I'm not on my Slackware box right now, so I can't test this, but my current user agent string from about:config is Slackware/Firefox/3.6. Would I change that to QuickTime/0.0/Slackware/Firefox/3.6, or is it talking about a different option in about:config?
I couldn't get QuickTime trailers to work with any of the useragent alternatives described here. Finally I added the User Agent Switcher to Firefox and added QuickTime to one of the supplied IE useragents and that did the trick. The trailers will play as long as I right-click them into a new tab/window.
 
Old 02-15-2010, 11:39 AM   #18
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I prefer to download the trailers and then play them:
http://linuxtidbits.wordpress.com/20...e-trailer-fix/

(That's with wget. To do it with Firefox, you just set the user-agent and then add an "h" before the the resolution in the trailer filename, so that aaa_720p.mov becomes aaa_h720p.mov).

Last edited by dugan; 02-15-2010 at 11:51 AM.
 
Old 02-15-2010, 08:27 PM   #19
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Finally I added the User Agent Switcher to Firefox and added QuickTime to one of the supplied IE useragents and that did the trick. The trailers will play as long as I right-click them into a new tab/window.
I can't even get that far. Everything acts as if it would work, but it never downloads or plays anything.

What exactly is the useragent you are using?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable full multimedia capabilities on Suse 10.1 using the Xine engine reddazz SUSE / openSUSE 134 05-26-2012 05:25 PM
How to enable full multimedia capabilities on Suse 10.3 using the xine engine reddazz SUSE / openSUSE 24 07-21-2010 12:01 PM
How to enable full multimedia capabilities on Suse 10.2 using the xine engine reddazz SUSE / openSUSE 8 12-11-2006 06:13 AM
How to enable full multimedia capabilities on Suse 10.2 using the Xine engine? joint SUSE / openSUSE 1 12-10-2006 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration