CookieVideoView
Introduction: Extension to Android VideoView. Adding session cookie header to request.
Tags:
Extension to Android VideoView. Adding session cookie header to request.
Features
- Add cookie header to the request which VideoView makes. (Native Android VideoView doesn't do this.)
- Find proper cookie value based on requesting URI's domain.
Notice!!
- This library requires Android Asynchronous Http Client by James Smith.
- You have to maintain cookies with com.loopj.android.http.PersistentCookieStore class.
- Or you can try my fork of Android Asynchronous Http Client.
Usage
- (in java) Import com.bangtoven.cookievideoview.CookieVideoView
- (in java) Change VideoView to CookieVideoView
- (in xml) Change VideoView to com.bangtoven.cookievideoview.CookieVideoView
- That's it!