Skip to content

Extension to Android VideoView. Adding session cookie header to request.

License

Notifications You must be signed in to change notification settings

bangtoven/CookieVideoView

Repository files navigation

CookieVideoView

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!

About

Extension to Android VideoView. Adding session cookie header to request.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages