Viblast / documentation

Useful reads on Viblast PDN’s architecture, integration and composing elements: Viblast Customer Portal & REST API, Viblast PDN Wowza module.
http://viblast.com/
MIT License
5 stars 1 forks source link

Media Controller #2

Closed mahich closed 8 years ago

mahich commented 8 years ago

Hi, I tried to set media controllers to viblastplayer, But i didn't find option to set media controller to viblast player, Can any one tel me How to set media controller to viblastplayer

ptanov commented 8 years ago

Hello, I assume that you are talking about Viblast for Android. Is that correct? Viblast for Android exposes several methods (e.g. start() ). So you can implement your own control of playback if you implement MediaPlayerControl in your Activity. You can see one way of achieving that here: http://stackoverflow.com/questions/2961749/mediacontroller-with-mediaplayer

mahich commented 8 years ago

Hi ptanov, Yes I am talking about Viblast for android. I have tried your given url but media controllers are not displaying for viblastview in android, I have used below url : https://github.com/Viblast/android-pdn-sdk, Can you please check this url once.

ptanov commented 8 years ago

Hi, Do you mean this scenario with the controls at the bottom: screenshot_2016-04-21-13-52-42

I have managed to achieve this by applying the code snippet from http://stackoverflow.com/questions/2961749/mediacontroller-with-mediaplayer#answer-6869615 to the example mentioned by you ( https://github.com/Viblast/android-pdn-sdk ).

P.S. this issue is related to https://github.com/Viblast/android-pdn-sdk so I will move it there at some point.

mahich commented 8 years ago

Hi, Thank You for your reply, I will try it.

ptanov commented 8 years ago

This issue was moved to Viblast/android-pdn-sdk#7