cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kandarp28
New Member

I want to add iframe tag in html text control

Hi Community,

 

I am trying to add below code in HTMLText property of HTMLText control

"<iframe src='https://www.w3schools.com' title='W3Schools Free Online Web Tutorials'></iframe>"

and it is displaying nothing as output as per below screenshot.

you can replace your url and check the same.

kandarp28_0-1642058548169.png

Want to add that if I use different tag like label and progress its showing me correct output 

for eg. If I write  "<label for='file'>Downloading progress:</label>
<progress id='file' value='32' max='100'> 32% </progress>"

It will show output as below screenshot

kandarp28_1-1642058725112.png

It would be great if any one can resolve my issue or confirm that this issue is from powerapps side.

 

Thanks & Regards,

Kandarp Jadfva

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @kandarp28 :

I'm afraid that html text control do not support IFRAME tag.If you want to insert web pages in Canvas App, I suggest you consider using IFRAME component:

Implementing a IFRAME component 

Best Regards,

Bof

View solution in original post

3 REPLIES 3
Nogueira1306
Super User
Super User

<iframe src="https://www.youtube.com/embed/123" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""; width = "100px"; height= "100px"></iframe>

 

There might be videos that don't work with embebed though...

But you can try that.

And you can try setting a width and height in your code, thre might be it to.

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

Last Post on Community

My website!

v-bofeng-msft
Community Support
Community Support

Hi @kandarp28 :

I'm afraid that html text control do not support IFRAME tag.If you want to insert web pages in Canvas App, I suggest you consider using IFRAME component:

Implementing a IFRAME component 

Best Regards,

Bof

Hello, I can't find how to activate this <iframe> option in a canvas.

how can i find it? Thank you

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,818)