player detection algorithm

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

player detection algorithm

gkatz
Hi;
the URLs in my site are in the form of www.<domain>/resource?name=picture.jpg
now, shadowbox will not recognize that this url is for a jpg resource because the getPlayer method strips everything after the '?' character and only then looks for a match.
I would say that player detection should be done also via content-type header in the response and not like it is now (pre-determined). there are many sites with URL mappings where the URL does not "disclose" the content-type.

is this intended or a bug?
thanks in advance.