Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
gradle/wrapper
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

DabKick-Video-Player-Demo

The main purpose of this sample application is to familiarize the users with the key functionalities of the video player.

Getting the compiled APK

Download the pre-compiled APK to install in your Android device here.

Getting the code

The source code for the sample app can be found in our GitHub project. If you haven’t already done so, clone the project into a local directory:

git clone https://github.com/DabKickDeveloper/DabKick-Video-Player-Demo.git

Next, open the project in Android Studio. You should see the following in the Android Project view.

Figure1 Figure 1 in Android Studio

Compiling and running

To compile and run the sample app, select and run the app configuration in Android Studio. The sample app will install and run on a connected Android device. We recommend using a physical device if possible and 2 devices in order to fully test the functionalities of the dabkick player. Ensure that your device is with an API level of atleast 14.

Once run successfully, you should be able to see the home page(MainActivity). The sample app homepage presents of a list of videos. Selecting a video will open a second activity (PlayerActivity) for playback as shown in the below image.

1

Figure 2 in Device 1 after selecting a video to play

Clicking on the play button in the video controls should start playing the video, you can invite a friend/another user to 'Watch Together' by tapping on the watch together button provided on the right hand corner of the dabkick player. Upon tapping the button, a custom edit text appears which hints you to enter your name and proceed to tapping on the "Start inviting" option

2 Figure 3 in Device 1. Tap on the Watch Together button

3 Figure 4 in Device 1. Enter user name and tap on Start an invite.

Upon the above step you should be able to see multiple options for sharing such as hangouts, email etc. Select any of the available options and send it to the desired friend.

hangouts Figure 5 in Device 1. Select any of the available options.

Your friend will recieve the url on the other phone and upon clicking on the url the same video will start playing in both the devices in sync.

You can swipe up to chat with your friend as the video plays along on both ends.

You may tap on the back button of your android device to exit the video player.

Supported Device

Min Api level - 14

Target sdk version - 27

Exo player version - 2.8.0

Integration steps

You can integrate our Dabkick video player into your own app. To do this follow the integration documentation

You can’t perform that action at this time.