Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
burakk
Posts: 149
Registered: ‎04-23-2011
My Device: BlackBerry 9700 Bold

Re: How to Set Media Player's Volume in QML

[ Edited ]

Thank you Samar, I will try it and post here the result. However, I did not understand why it should be working when the method is called in a signal-slot mechanism...

 

By the way, I was trying to achieve to control the volumes of two different MediaPlayer instances in a QML page, not setting the volume of the MediaPlayer using two QML volume buttons. Anyway, thanks again, I will try it.

 

 

Please use plain text.
Developer
burakk
Posts: 149
Registered: ‎04-23-2011
My Device: BlackBerry 9700 Bold

Re: How to Set Media Player's Volume in QML

It worked. I could finally set volumes of different MediaPlayer instances in my QML file. Thank you.

Please use plain text.
BlackBerry Development Advisor
sabdelsayed
Posts: 249
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10

Re: How to Set Media Player's Volume in QML

Happy to hear the code worked for your purpose :smileyhappy:

@SamarAbdelsayed

Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.