cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
omarsalgado
Level: Powered On

audio player

Hello,

I have an audio player, I want audio player to be disable for the user but show the time lapsed while the song is being played.

I'll appreciate any hints.

Thanks

Omar 

1 ACCEPTED SOLUTION

Accepted Solutions
bean
Level 8

Re: audio player

IN ADDITION...

 

You could also replicate the media player timeline bar.

 

>Add a slider control

>Set max to Audio1.duration

>Set min to 0

>Set DisplayMode to DisplayMode.View

>Set default to Audio1.time

 

Sean

View solution in original post

5 REPLIES 5
Community Support Team
Community Support Team

Re: audio player

Hi @omarsalgado,

 

Did you mean that you want the player to auto-start but users cannot pause/fast forward etc.? If this is the requirement, you can do this by setting the display mode to "View":

Capture.PNG

 

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.
omarsalgado
Level: Powered On

Re: audio player

Dear Mona,

Thanks for the reply...

I wanted to show only the clock of the player but when I crop it, the first thing that hides is the clock and the last is the play buttom.

Any other hint?

Thanks

Community Support Team
Community Support Team

Re: audio player

Hi @omarsalgado,

 

Then I'm afraid that this is not available so far in PowerApps. 

 

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.
bean
Level 8

Re: audio player

To get the values of the track being played simply use AudioPlayer.value and AudioPlayer.duration

 

To show the current time of the track being played out of the total time, you can simply add this code to the Text of a control:

Round(Audio1.Time,0) &"/"& Round(Audio1.Duration,0)

 

Not entirely sure what you want exactly, but I hope this can help you.

 

Sean

bean
Level 8

Re: audio player

IN ADDITION...

 

You could also replicate the media player timeline bar.

 

>Add a slider control

>Set max to Audio1.duration

>Set min to 0

>Set DisplayMode to DisplayMode.View

>Set default to Audio1.time

 

Sean

View solution in original post

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.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

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 (10,617)