thanks it works but then theyre turned off for good, ie user can close side 
menu but then cant play video. Is there any event I can use to detect when 
the side menu is closed? (since user can tap outside of it to shut it, I 
cant detect re-tapping the hamburger menu)

On Thursday, January 24, 2019 at 1:52:34 PM UTC+8, Gareth Murfin wrote:
>
> perfect, you guys have thought of everything, thanks!
>
> On Thursday, January 24, 2019 at 11:20:13 AM UTC+8, Shai Almog wrote:
>>
>> There is this:
>>
>> Media someMedia = ...
>> ...
>> someMedia.setVariable(Media.VARIABLE_NATIVE_CONTRLOLS_EMBEDDED, false); // 
>> hides native controls
>>
>> or
>>
>> someMedia.setVariable(Media.VARIABLE_NATIVE_CONTRLOLS_EMBEDDED, true); // 
>> shows native controls
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/564095d3-bc16-4d72-978a-0cd645536c75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to