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

Audio/Image not working consistently in mobile and browser

In canvas app, Audio/Image that are captured in mobile is only played or viewed in mobile devices but not able to play the audio or view the image in browser screen and similarly audio/image captured in browser version is not played or viewed in mobile gallery.

5 REPLIES 5
v-siky-msft
Level 10

Re: Audio/Image not working consistently in mobile and browser

Hi @RuthJen ,

 

Can you post more details with your scenario?

How do you capture the Audio/Image?

What is the data source that Audio/Image store in?

 

I have made a test on my side, if the captured Image is stored to SP list in PC, it still can be viewed in mobile.

Please refer to the following steps:

1. create a Add picture control, set OnSelect property of AddMediaButton1 as below:

Patch(Contacts,First(Contacts),{'Entity Image':AddMediaButton1.Media}) /* I save the image in Contacts.'Entity Image' */

2. set Image property of UploadedImage1 as below:

If(IsBlank(AddMediaButton1.Media), First(Contacts).'Entity Image', AddMediaButton1.Media)

So that if you add a picture in PC browser, you still can view the picture in mobile.

Annotation 2019-10-17 142846.pngPC browser

 

1017_1.jpgMobile

Hope this can help.

Best regards,

Sik

 

RuthJen
Level: Powered On

Re: Audio/Image not working consistently in mobile and browser

Hi Sik,

 

Thanks for your reply.  Still it is not working as expected.  Please find more details on how we are implementing,

 

1. The data source we are using is sharepoint list and the field we tried to upload and save the image is for both the data types text and Hyperlink or picture.

2) It failed to save for the data type Hyperlink or Picture but we were able to upload and save the image for text data type column.

3) The control used to upload the image is Add Picture.

4) Patch formula used is Patch(AudioList,Defaults(AudioList),{Image2: AddMediaButton1.Media})

​5) Formula used to display image in the galley is ThisItem.Image2

But still images that are uploaded using mobile is not visible in the browser and images uploaded using browser is not visible in the mobile.

 

Also for the audio, we have recorded audio in microphone1 and saved the audio in the sharepoint list using patch function.

When we play audios in the gallery still the same problem exists. Audio.png

 

Thanks,

Ruth

v-siky-msft
Level 10

Re: Audio/Image not working consistently in mobile and browser

Hi @RuthJen ,

 

To better understand your issue:

1. Do you want to achieve synchronous upload and display of image/audio files on mobile and browsers? Or no need to be synchronous?

2. Could you check if your image/audio files have been saved in SP list?

 

If you want to upload the files, and another device will immediately display them, I think you need to add a refresh button to refresh the SP list data source.

For the moment, PowerApps doesn't  support auto-refresh SP list, so we have to refresh it manually. Please set OnSelect property of button to Refresh(AudioList).

Hope this helps.

Best regards,

Sik

If my post is helpful for you, please click on “Accept as Solution” to help other members find it more quickly.

 

RuthJen
Level: Powered On

Re: Audio/Image not working consistently in mobile and browser

Hi Sik,

 

Thanks for the response.

 

The image/audio files are being saved in the SP list.  We are able to see the image/audio in mobile if uploaded in mobile.  Similarly if uploaded in browser, it is visible in browser.

 

But the image/audio that are uploaded using mobile is not visible in the browser and image/audio uploaded using browser is not visible in the mobile.

 

Thanks,

Ruth

RuthJen
Level: Powered On

Re: Audio/Image not working consistently in mobile and browser

Hi,

 

We noticed that the uploaded audio/image gets displayed immediately but after sometime or after few refreshes, it gets disappeared even though it is still available in the sharepoint list.

 

Please provide the solution for this issue

 

Thanks,

Ruth

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Users Online
Currently online: 100 members 5,437 guests
Please welcome our newest community members: