cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mike8
Solution Sage
Solution Sage

Media in Base64

Hello everyone,

There is an issue with Media in Base64.

We could use a Base64 string as a source at an Image, Audio, Video and PDF and it was working.
For example try to use the string at the end of the message* ( including the quotes "Base64 string") and have it as source at an image control and you will able to see the image.

Now as I can see it still works for the Images and PDF but not for Audio and Video controls.
Does anyone else has the same problem?
Can someone from the PowerApp team help, please?
I think the update on early February created that issue.

Thank you,
Michalis

*   "data:application/octet-stream;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxETEhUSEhIRFRUXGB0WGBUWExcaFhYbFhcWGBgVFxcaHSghGBolIBgXIjMiJSkrMi4uFyA1ODMvOigtLisBCgoKBQUFDgUFDisZExkrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrK//AABEIAOEA4QMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAAAwUBBAYCB//EAEoQAAIBAgMFAwkECAMFCQEAAAECAwARBBIhBRMiMUEGMlEUIyRCUmFxkbEzNHSyQ1NicnOBobMVRJJUg6LR8DWCk5SjpLTC4hb/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A+1QQrlXhXkOg8K97hfZX5CmH7q/AfSpKCPcL7K/IU3C+yvyFSUoI9wvsr8hTcL7K/IVJSgj3C+yvyFNwvsr8hUlKCPcL7K/IU3C+yvyFSUoI9wvsr8hTcL7K/IVJSgj3C+yvyFNwvsr8hUlKCPcL7K/IU3C+yvyFSUoI9wvsr8hTcL7K/IVJSgj3C+yvyFNwvsr8hUlKCPcL7K/IU3C+yvyFSUoI9wvsr8hTcL7K/IVJSgj3C+yvyFNwvsr8hUlKCPcL7K/IU3C+yvyFSUoKDdr4D5CleqUFzh+6vwH0qSo8P3V+A+lSUClKUClKUCuW2vtHEYifyTBS7rJrNiQqvuzpaJVdSpbW5v7gNc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5j5D4D6V7pSgUpSgUpSgUpSgUpSgUpSgUpSgUpSgUpSgxSs0oMUrNKDyayazSgUpSgxTwrNKCtpSlB//9k="

1 ACCEPTED SOLUTION

Accepted Solutions
Mike8
Solution Sage
Solution Sage

Solution :

An audio file is being created by a microphone control and uploaded by a custom connector in Base64 coding.
The Base64 string starts with "data:application/octet-stream;base64,".
If you change this to "data:audio/mp3;base64," you can have the Base64 string as a source to an audio control.

If you have a video file you need to change "data:application/octet-stream;base64," to  "data:video/mp4;base64,"
I have only tried it with .mp4 and it works. I think you can also have .3gp ---> "data:video/3gp;base64,"

Thanks to the support team. 🙂

 

View solution in original post

11 REPLIES 11

@Mike8

 

Can you tell how you made it work for PDFs?

 

Also, I tried using this in the Image control and it wasn't working . Also tried converting some other jpg file to base64 and even that didn't work out.

 

Any ideas?


Vivek Bavishi aka That API Guy
PowerApps and Flow MVP
Blog | Twitter | YouTube | Community Profile | GitHub



If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello vivekb,

Did you try having the string above
Image1.Image= "data:application/octet-stream;base64,/9j/4AAQSkZ.......................tpSlB//9k="
and you can't see the image?
I am doing this and I can see it. I also have sent the string to a coworker via mail and I could see the image under his powerapp account.

About the PDFs I do exactly the same:
PdfViewer1.Document= "Base64 string"
and it also works.
Want me to sent you the Base64 string for SamplePDF for example? If you make it work for the images I think it will work for the PDFs.

My issue now is that is not working for the audios and videos.

Mike8
Solution Sage
Solution Sage

Hello,

Update:
I created a ticket and the support suggested to go back to the powerapps version that was working.
I did that and everything works fine on PowerApps release 2.0.732. I could play Media having as source a Base64 string.
So we lost the functionality at one of the latest updates.

@Mike8

 

Weirdly, It worked for me when I changed "data:" to "data:"

 

And glad that the audio/video worked out for you!

 

Thanks


Vivek Bavishi aka That API Guy
PowerApps and Flow MVP
Blog | Twitter | YouTube | Community Profile | GitHub



If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@Mike8

 

I am greatly thankful to you for this post. One of the big requirements of a lot of business team was to show pdfs offline.

 

With this, I can easily achieve that and implement it in a lot of already exisitng apps that I have created!

 

Lots of Kudos to you Mike 🙂 


Vivek Bavishi aka That API Guy
PowerApps and Flow MVP
Blog | Twitter | YouTube | Community Profile | GitHub



If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @ThatAPIGuy,

Next time, it may be your post, the one that will help me out.
I 'm glad I could help 🙂

Mike8
Solution Sage
Solution Sage

Solution :

An audio file is being created by a microphone control and uploaded by a custom connector in Base64 coding.
The Base64 string starts with "data:application/octet-stream;base64,".
If you change this to "data:audio/mp3;base64," you can have the Base64 string as a source to an audio control.

If you have a video file you need to change "data:application/octet-stream;base64," to  "data:video/mp4;base64,"
I have only tried it with .mp4 and it works. I think you can also have .3gp ---> "data:video/3gp;base64,"

Thanks to the support team. 🙂

 

View solution in original post

vigneshvaran
Frequent Visitor

Hi,

 

I tried by using this formula to display the image using base64 string, but it is not working.

 

"data:application/octet-stream;base64,iVBORw0KGgoAAAANSUhEUgAAC04AAAI3CAIAAACZW30uAAAABGdBTUEAALGOfPtRkwAAACBj
SFJNAACHDwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxz"

 

Thanks in advance,

K. Vigneshvaran.

Hi, I want to view the base 64 string as pdf and download the same pdf to local storage.  Can you please detail the same.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,638)