title: Getting YouTube video length in Android Studio
body: <p>I'm creating an app which will display YouTube video. I want to get the length of that video. For example: When the user watches YouTube video for 30 seconds they will get 20 points. Is there any way to get the length. Thanks in advance.</p>