Bug 34327 - [Gtk] Vimeo HTML5 player doesn't work
Summary: [Gtk] Vimeo HTML5 player doesn't work
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://vimeo.com/
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-29 05:04 PST by Philippe Normand
Modified: 2010-01-29 07:25 PST (History)
0 users

See Also:


Attachments
Send Referer when requesting media over HTTP (7.35 KB, patch)
2010-01-29 06:20 PST, Philippe Normand
gustavo: review+
gustavo: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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