PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, April 14, 2022

[FIXED] How to hide the url of an Iframe in React?

 April 14, 2022     iframe, javascript, reactjs     No comments   

Issue

I am developing a React component in which I place an Iframe to insert a Jitsi video conference. But I am requested that the URL of this meeting is hidden. This is the package I use for the Iframe:

import Iframe from 'react-iframe';

The code for the Iframe is as follows:

<Iframe url={meet.url}
  allow="camera; microphone; fullscreen; display-capture; autoplay"
  className={classes.meetIframe}
/>

When inspecting in the console the URL is visible. How can I hide it? Is there a way to make the URL not visible in the console?


Solution

There isn't a way to hide it. More importantly, I can't understand any reason why you would want to do that? What is the objective behind this?



Answered By - theMyth
Answer Checked By - Marilyn (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing