|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Site based user-agent-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 09/11/2009 08:23 AM, Dean Montgomery wrote: > Apple Quicktime trailers now require a special user-agent string. Would it be possible to allow for site-based user-agent strings in the conf file? > > e.g. > === > # default user-agent > user-agent=NSPlayer > # site specific user-agent > user-agent:apple.com=QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3) > === > > This way if sites require specific user-agent strings for Quicktime Player or WMP or RealPlayer; then the mplayerplug-in can mimic user-agent on a per-site basis. > > Dean, I'm not sure that this would solve the problem completely as you have the initial request (prior to the streamed data) to deal with as well. In svn of gecko-mediaplayer I have solved the problem for the apple.com site by changing the user-agent in firefox when the QT version of the plugin is loaded. I have also had to work around this in gnome-mplayer as well. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkqqcnUACgkQ6w2kMH0L1dFmTwCeJVK+Vgh7M8Pq8K90be4JA0uT c1MAnil0MvcI0wq6iaLG2cOdnuiFsKpz =EgoI -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Mplayerplug-in-devel mailing list Mplayerplug-in-devel@... https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel |
|
|
|
|
|
Re: Site based user-agent-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 09/11/09 10:53, Dean Montgomery wrote: > ----- "Kevin DeKorte" <kdekorte@...> wrote: >> Dean, >> >> I'm not sure that this would solve the problem completely as you have >> the initial request (prior to the streamed data) to deal with as >> well. >> In svn of gecko-mediaplayer I have solved the problem for the >> apple.com site by changing the user-agent in firefox when the >> QT version of the plugin is loaded. I have also had to work >> around this in gnome-mplayer as well. > > The initial browser request doesn't affect the apple trailers, only the mplayer-plugin request is checked for user-agent. When I set mplayerplug-in.conf as follows, the apple trailers work: > > user-agent=QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3) > > So if the player itself could be configured to send different user-agent strings on a per domain basis then it will be easy to fix if domains require specific user-agent strings. (e.g. apple.com) I made a fix to the code to pass a correct user-agent when the url is apple.com Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkq6TwwACgkQ6w2kMH0L1dGwdgCeLNbUiIBM8AsSLNBTpZfKfm+m TPsAn2pzczBmvBNx+4Y1KQN/uVLcpwNZ =JOil -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Mplayerplug-in-devel mailing list Mplayerplug-in-devel@... https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel |
| Free embeddable forum powered by Nabble | Forum Help |