Bug 34327

Summary: [Gtk] Vimeo HTML5 player doesn't work
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://vimeo.com/
Attachments:
Description Flags
Send Referer when requesting media over HTTP gustavo: review+, gustavo: commit-queue-

Description Philippe Normand 2010-01-29 05:04:45 PST
Because our GStreamer based media player doesn't send the HTTP referrer when requesting to play the video.
Comment 1 Philippe Normand 2010-01-29 06:20:54 PST
Created attachment 47713 [details]
Send Referer when requesting media over HTTP
Comment 2 Gustavo Noronha (kov) 2010-01-29 06:42:34 PST
Comment on attachment 47713 [details]
Send Referer when requesting media over HTTP

 166             gchar* referer = g_strdup(document->documentURI().utf8().data());
 167             g_printerr("Referer: %s\n", referer);

As discussed on IRC, drop the referer variable, and the g_strdup, and pass document->documentURI().utf8().data() directly to gst_structure_new. Also remove the g_printerr =).
Comment 3 Philippe Normand 2010-01-29 07:05:19 PST
Landed in r54061. Thanks