Skip to content

Repository files navigation

VideoWebview

An Android WebView with full screen video ability

alt text alt text alt text

Installation

Add this to your main project gradle file

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Then add this to your app/module gradle dependencies

	dependencies {
	        compile 'com.github.ravindu1024:video-webview:1.0.0'
	}

Usage

  • Basic:
    <com.rw.videowebview.VideoWebview
        android:id="@+id/webview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>
    VideoWebview videoWebview = (VideoWebview)findViewById(R.id.webview);
    videoWebview.getWebView().loadUrl("http://vimeo.com");
  • Setting a custom full screen view
     videoWebview.setFullScreenView(getSupportActionBar(), (FrameLayout) findViewById(R.id.fullscreen_view));

About

An Android WebView with full screen video

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages