diff --git a/README.md b/README.md index fe79c40..1b260df 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,14 @@ Download ========== You can use Gradle: ```gradle -compile 'bg.devlabs.fullscreenvideoview:library:0.0.1' +compile 'bg.devlabs.fullscreenvideoview:library:0.0.3' ``` or Maven: ```maven bg.devlabs.fullscreenvideoview library - 0.0.1 + 0.0.3 pom ``` diff --git a/library/release.gradle b/library/release.gradle index 05acf74..f2958d8 100644 --- a/library/release.gradle +++ b/library/release.gradle @@ -5,7 +5,7 @@ apply from: 'keystore.gradle' ext { publishedGroupId = 'bg.devlabs.fullscreenvideoview' artifactId = 'library' - libraryVersion = '0.0.2' + libraryVersion = '0.0.3' } version = libraryVersion diff --git a/library/src/main/java/bg/devlabs/fullscreenvideoview/FullscreenVideoView.java b/library/src/main/java/bg/devlabs/fullscreenvideoview/FullscreenVideoView.java index 7dfbc6a..ef94ec4 100644 --- a/library/src/main/java/bg/devlabs/fullscreenvideoview/FullscreenVideoView.java +++ b/library/src/main/java/bg/devlabs/fullscreenvideoview/FullscreenVideoView.java @@ -101,14 +101,14 @@ private void initOnBackPressedListener() { setOnKeyListener(new VideoOnKeyListener()); } - public Builder build(File videoFile) { + public Builder videoFile(File videoFile) { builder = new Builder(this, controller, orientationDelegate, videoMediaPlayer); builder.videoFile(videoFile); return builder; } - public Builder build(String videoUrl) { + public Builder videoUrl(String videoUrl) { builder = new Builder(this, controller, orientationDelegate, videoMediaPlayer); builder.videoUrl(videoUrl);