I want to play vimeo video in VideoView, but here is problem.
Steps for downloading video in desktop is as follows(based on ossguy.com script):
- get page
vimeo.com/XXXClip_id
(tested with 67216430) - parse web page and get signature and timestamp
- send request as in form of
player.vimeo.com/play_redirect?clip_id=XXXClip_id&sig=5e23c571c4032abd7507368237f43a2a&time=1378707147&quality=hd&&codecs=H264,VP8,VP6&type=moogaloop_local&embed_location=
(sig and time is obtained above) - above request will start downloading from web page and response header contains "Location" header, which contains url for video in form of http://pdl.vimeocdn.com/70693/759/167687374.mp4?aksessionid=5e23c571c4032abd7507368237f43a2a&token=1378715414_ca8e14d352c93df0d33bbbadc3c888ac
I want to repeat same steps in android, since URL obtained from last step can be played with VideoView. But the problem is when send same request from step 3, response doesn't contain "Location" header. Any ideas?