java - Google Media Framework (GMF) addListener to work with playStateChanged -


i using google media framework play video files.

as mentioned in above link gmf built on top of exoplayer.

my question

how can addlistener(...) work playerstatechanged(...)

mainactivity.java code

activity_main.xml

to play videos using framelayout:

<framelayout         android:id="@+id/video_frame"         android:layout_width="match_parent"         android:layout_height="0dp"         android:layout_weight="1"         android:background="@android:color/background_dark"/> 

i found this link work exoplayer's playerstatechanged(...) not getting how can use same solution in existing code.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -