-4

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

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

1 Answer 1

4

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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.