I have iframe in my website i want it to be encrypted so that user can't understand the link and when user try to paste on browser it should show the video

  id="<?php echo $fetchyoutubedetails['id'];?>"
  src="<?php echo $fetchyoutubedetails['video_links']?>?rel=0&wmode=Opaque&enablejsapi=1;showinfo=0;"
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"

closed as off-topic by Xander, schroeder Sep 18 at 16:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Information security within the scope defined in the help center." – Xander, schroeder
If this question can be reworded to fit the rules in the help center, please edit the question.


This does not work.

The browser has to be able to read the link, and as soon as the browser is able to do that, the user is able to do that.

Not the answer you're looking for? Browse other questions tagged or ask your own question.