Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Type of content


How to detect what is currently playing in the player? I have a requirement where I want to detect if there is video ad playing in the player than do this else this.
Is there any functionality to do so?
This question is asked for Android SDK environment.

1 Community Answers

Hyunjoo Kim

JW Player Support Agent  
0 rated :

Hi,

This is Hyunjoo from the Android Support Team at JW Player. How are you?

Once you import the JW Player library, you have access to our event listeners, here is our API Reference, https://developer.jwplayer.com/sdk/android/reference/

Here are two examples you can use to guide you:

  1. https://s3.amazonaws.com/qa.jwplayer.com/~hyunjoo/My_JW_Demo.zip (copy & paste)
  2. https://github.com/jwplayer/jwplayer-sdk-android-demo

Please if you have any questions or concerns, let me know!

Kind regards,

Hyunjoo
Support Team, Android Sdk
JW Player

Post Your Public Answer