Skip to content

jaikydota/ivsdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IVSDK

ctrlvideo.com Interaction Video SDK for Android.

Using

Add to your layout xml:

<com.ctrlvideo.ivsdk.IVView
    android:id="@+id/ivViewContainer"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
</com.ctrlvideo.ivsdk.IVView>

Binding to your code:

IVView ivView = findViewById(R.id.ivViewContainer);
ivView.initIVView(pid, new IVListener());

Implement this Interface:

private class IVListener implements IVViewListener {

    void onIVViewStateChanged(String state);

    long getPlayerCurrentTime();

    void seekToTime(long time);

    void setPlayOrPause(String state);

    void onIVViewClick(String info);   
    
    void onEventStateChanged(String eType, String state);
 
}

Enjoy it!

About

An open source interaction video sdk.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages