Bug 45025
Summary: | [GStreamer] fails to play html5 dailymotion videos | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <pnormand> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | svillar |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 | ||
URL: | http://openvideo.dailymotion.com |
Philippe Normand
it seems the player loads the media fine, goes to PAUSED and when playback starts the server sends a 403 response code... a new filter i guess, will need to fire up wireshark to see if we need to inject some specific data in the http session...
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Philippe Normand
Relevant HTTP conversation. The server returns a 303 status-code and a Location field that I guess we should use...
GET /cdn/H264-512x384/video/xehfry.mp4?auth=1283516984-ef58a0a2a5a3bca316d742cd32801d45 HTTP/1.1
Host: www.dailymotion.com
transferMode.dlna: Streaming
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/534.7+ (KHTML, like Gecko) Safari/534.7+
icy-metadata: 1
Referer: http://openvideo.dailymotion.com/video/xehfry_joe-flemke-a-short-skate-film_sport#hp-sc-p-1
Accept: */*
Accept-Encoding: gzip
Cookie: XGEOIP=c43c4442cfef8177:I2fdb974f:C67:KES:A56:RQ2F0YWx1bmE=:LQmFyY2Vsb25h:Z:X41.3833000000000:Y2.1833000000000:SAS3352:NVEVMRUZPTklDQSBERSBFU1BBTkE=; RMID=4f97db2f4c7e4730
HTTP/1.1 303 See Other
Server: DMS/1.0.42
X-DM-BackNode: sc-066.srv.dailymotion.com:80
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
P3p: policyref="http://www.dailymotion.com/w3c/p3p.xml", CP="IDC DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Date: Wed, 01 Sep 2010 12:29:51 GMT
Location: http://vid.akm.dailymotion.com/video/222/823/24328222%3amp4_h264_aac%3a1.mp4?aksessionid=-851029842_283229&akauth=1283351391_68b9dec10fc60841b3dfc2c6ce6926ac
Expires: Mon, 02 Aug 2010 14:29:51 +0200
Pragma: no-cache
X-Dm-Cell: akamai, rule=51, vars=remote.as,video.views_hour
Set-Cookie: tg=40210; expires=Tue, 01-Sep-2020 12:29:51 GMT; path=/
Content-Length: 20
Philippe Normand
The 303 status-code is internally handled by libsoup which loads the new location:
GET /video/222/823/24328222%3Amp4_h264_aac%3A1.mp4?aksessionid=-851029842_283229&akauth=1283351391_68b9dec10fc60841b3dfc2c6ce6926ac HTTP/1.1
Host: vid.akm.dailymotion.com
transferMode.dlna: Streaming
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/534.7+ (KHTML, like Gecko) Safari/534.7+
icy-metadata: 1
Referer: http://openvideo.dailymotion.com/video/xehfry_joe-flemke-a-short-skate-film_sport#hp-sc-p-1
Accept: */*
Accept-Encoding: gzip
Cookie: XGEOIP=c43c4442cfef8177:I2fdb974f:C67:KES:A56:RQ2F0YWx1bmE=:LQmFyY2Vsb25h:Z:X41.3833000000000:Y2.1833000000000:SAS3352:NVEVMRUZPTklDQSBERSBFU1BBTkE=; RMID=4f97db2f4c7e4730; __qca=P0-1442571829-1283344240514; v1st=971D34A4A4692868; __utmz=244310544.1283344243.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=244310544.753497505.1283344242.1283344242.1283344242.1; __utmb=244310544.0.10.1283344242; __utmc=244310544; __utmv=244310544.|4=segment=61=1,
HTTP/1.1 403 Forbidden
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 175
Expires: Wed, 01 Sep 2010 12:29:57 GMT
Date: Wed, 01 Sep 2010 12:29:57 GMT
Connection: keep-alive
<HTML><HEAD><TITLE>Error</TITLE></HEAD><BODY>
An error occurred while processing your request.<p>
Reference #50.3e42e0c2.1283344197.cee40f3
</BODY></HTML>
So I think this is a server-side issue, although it runs fine in Iceweasel...
Philippe Normand
Here's what happens in Iceweasel:
GET /cdn/OGG-320x240/video/xehfry.ogg?auth=1283516260-67594d05d4ea98fc6998db6207a1b027 HTTP/1.1
Host: www.dailymotion.com
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100819 Iceweasel/3.5.11 (like Firefox/3.5.11)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Range: bytes=0-
Cookie: tg=664809; RMID=4f97db2f4c7e3f80; __qca=P0-1622897626-1283342261855; v1st=9A48507F6D9C268D; __utma=244310544.1959214360.1283342263.1283342263.1283342263.1; __utmb=244310544.0.10.1283342263; __utmz=244310544.1283342263.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=244310544.|4=segment=34=1,; showcomments=true; FilterUserGuid=E4492C0D-A816-4C82-8F41-D3EC55E0F1FF; history_video_list_id=ZGY5MTdkNDiK.H7V3EV4b28leSgL7Q/dSM3tZtUKW/0qr59pVpFYweV3rT0lqur8MqKQA2v8xkEQRnf5ZMUjF2sSo/KRhreGuL6Hf4lHYzcTSAIPW0BRcHWfibQ9bSR4QFFYkw==; __utmc=244310544; XGEOIP=c43c4442cfef8177:I2fdb974f:C67:KES:A56:RQ2F0YWx1bmE=:LQmFyY2Vsb25h:Z:X41.3833000000000:Y2.1833000000000:SAS3352:NVEVMRUZPTklDQSBERSBFU1BBTkE=; masscast=b%3A0%3B
Pragma: no-cache
Cache-Control: no-cache
HTTP/1.1 303 See Other
Server: DMS/1.0.42
X-DM-BackNode: sc-114.srv.dailymotion.com:80
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
P3P: policyref="http://www.dailymotion.com/w3c/p3p.xml", CP="IDC DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Date: Wed, 01 Sep 2010 12:17:42 GMT
Location: http://vid.akm.dailymotion.com/video/222/823/24328222%3aogg_theora_vorbis.ogg?aksessionid=-851759022_418612&akauth=1283350662_57306035fb7cf9476d2b55711eb9ca9d
Keep-Alive: timeout=60, max=5000
Expires: Mon, 02 Aug 2010 14:17:42 +0200
Pragma: no-cache
X-Dm-Cell: akamai, rule=51, vars=remote.as,video.views_hour
Connection: Keep-Alive
Set-Cookie: XGEOIP=c43c4442cfef8177:I2fdb974f:C67:KES:A56:RQ2F0YWx1bmE=:LQmFyY2Vsb25h:Z:X41.3833000000000:Y2.1833000000000:SAS3352:NVEVMRUZPTklDQSBERSBFU1BBTkE=; path=/; domain=.dailymotion.com
Content-Length: 20
GET /video/222/823/24328222%3aogg_theora_vorbis.ogg?aksessionid=-851759022_418612&akauth=1283350662_57306035fb7cf9476d2b55711eb9ca9d HTTP/1.1
Host: vid.akm.dailymotion.com
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100819 Iceweasel/3.5.11 (like Firefox/3.5.11)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: RMID=4f97db2f4c7e3f80; __qca=P0-1622897626-1283342261855; v1st=9A48507F6D9C268D; __utma=244310544.1959214360.1283342263.1283342263.1283342263.1; __utmb=244310544.0.10.1283342263; __utmz=244310544.1283342263.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=244310544.|4=segment=34=1,; __utmc=244310544; XGEOIP=c43c4442cfef8177:I2fdb974f:C67:KES:A56:RQ2F0YWx1bmE=:LQmFyY2Vsb25h:Z:X41.3833000000000:Y2.1833000000000:SAS3352:NVEVMRUZPTklDQSBERSBFU1BBTkE=
Pragma: no-cache
Cache-Control: no-cache
HTTP/1.1 200 OK
Server: Apache
Accept-Ranges: bytes, seconds
X-Accept-TimeURI: npt, smpte-24, smpte-24-drop, smpte-25, smpte-30, smpte-30-drop
X-Edge-Version: 1.7.2
Content-Type: video/ogg
Last-Modified: Wed, 18 Aug 2010 11:05:15 GMT
Etag: 37957413a5aff85f4cc2c01b41e16406
Content-Length: 12400444
Date: Wed, 01 Sep 2010 12:17:47 GMT
Connection: keep-alive
Sergio Villar Senin
No problem in the HTTP stacks. It was a bug in libsoup.
See https://bugzilla.gnome.org/show_bug.cgi?id=628728.
Now fixed in master, so enjoy your dailymotion.com videos ;-)
Philippe Normand
Fixed in libsoup, thanks Sergio!