Google Product Forums

apache proxy for ios devices

zakthan Apr 22, 2012 10:35 AM
Posted in group: YouTube
Hi all,

I have created an apache proxy for embedded youtube videos but I have a problem when it gets to ios devices.
It works for all other OS platfoms but when a ios devices is trying to watch an embedded video I get this error: HTTP/1.1 403 Forbidden

Below is the part of the logs that I get it.

Any advice on that?
Thank u!

GET /videoplayback?upn=K5G4Q9SSxms&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&fexp=901802%2C909902%2C910206&itag=44&ip= HTTP/1.1
User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16
Accept: video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5
Accept-Language: en-us,el-gr;q=0.8,el;q=0.5,en;q=0.3
Connection: keep-alive
Range: bytes=0-
Cookie: VISITOR_INFO1_LIVE=chOmO5OraFM; PREF=f1=50000000&fms2=10000&fv=11.0.1&fms1=10000; use_hitbox=d5c5516c3379125f43aa0d495d100d6ddAEAAAAw; GPS=1; s_gl=1d69aac621b2f9c0a25dade722d6e24bcwIAAABVUw==; recently_watched_video_id_list=2a655200fc0ce9bfba61234a10b1ab27WwEAAABzCwAAADlkYXlmbDEzSXln

HTTP/1.1 403 Forbidden
Last-Modified: Wed, 02 May 2007 10:26:10 GMT
Content-Type: text/plain
Connection: close
X-Content-Type-Options: nosniff
Date: Sat, 21 Apr 2012 23:11:30 GMT
Server: gvs 1.0