Wilton Ergon Posted March 16, 2017 Share Posted March 16, 2017 I want to give an example in my mobile application, the sound is not triggered by a click, but in a timer when I identify a specific situation, and I checked the uniGUI\Demos\Desktop\HTML5 Audio example, but I could not adapt it to the project Mobile ex:And only one example procedure Playsound (file: string); begin Myplayer.file := 'files \' + file; Myplayer.play; end; procedure TMainForm.UnimTimer1Timer(Sender: TObject); begin try UnimTimer1.Enabled :=false; if condition then playsound('alert.wav'); finally UnimTimer1.Enabled :=true; end; end; Need to trigger the sound on the client side, on the mobile device delphi xe6 unigui 1381 windows 8.1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 17, 2017 Share Posted March 17, 2017 Hi, Also you can use UnimVideo: \FMSoft\Framework\uniGUI\Demos\Touch\Video Best regards. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.