cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Audio Player - delay move to new screen / continue playing while moving to new screen

I'm experimenting with some audio feedback for my apps - i.e. verbal confirmation of the details of a record being saved (in this case, a booking being made).

 

When the user saves (patches) I'm using the translator connector to perform text-to-speech to confirm the details audibly, however the app should also navigate to another screen after the save. Once the app moves to another screen, the audio will not longer play.

 

Is there any way of delaying the navigation until the audio is complete, or of continuing the audio onto the following screen if it has not completed before the navigation?

 

I have a work-around at the moment that involves putting an audio player control on each screen, but a less resource-intensive solution would be preferable.

 

Thanks!

Paul

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Audio Player - delay move to new screen / continue playing while moving to new screen

Hi @PaulD1,

 

Yes, this can be achieved. You can set the OnSelect property to the button to:

Patch(...,...,....);UpdateContext({Var:1})

Then set the OnEnd property of the Audio control to:

If(Var=1,Navigate(Screen2,None))

After this, only when the Patch button is first selected and then audio has played to the end, it will auto-navigate to the next screen.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Audio Player - delay move to new screen / continue playing while moving to new screen

Hi @PaulD1,

 

Yes, this can be achieved. You can set the OnSelect property to the button to:

Patch(...,...,....);UpdateContext({Var:1})

Then set the OnEnd property of the Audio control to:

If(Var=1,Navigate(Screen2,None))

After this, only when the Patch button is first selected and then audio has played to the end, it will auto-navigate to the next screen.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Super User
Super User

Re: Audio Player - delay move to new screen / continue playing while moving to new screen

Thanks @v-monli-msft

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,393)