当前位置: 动力学知识库 > 问答 > 编程问答 >

php - Request mp4 file from server that requests a cookie

问题描述:

So I have a video tag

<video controls>

<source src="http://somewebsite/file.mp4" type="video/mp4" />

</video>

The server from http://somewebsite/file.mp4 checks if the request headers have a specific cookie, else you get 403 forbidden.

How can I send that cookie? I tried curl proxy, but there are problems with seeking. Maybe a flash based player that can do requests to media with specific http headers, or another way? Please help!

分享给朋友:
您可能感兴趣的文章:
随机阅读: