How to embed Youtube videos on the website and disallow direct visit on Youtube?

Status
Not open for further replies.

lakers24kobe

Active Member
52
2015
5
10
I noticed that some porn websites are using Youtube to host their videos(not googlevideo.)


The youtube button on the embed player will always link to the origin video page on Youtube but they disallow to watch on youtube somehow.
And the videos cannot be embedded on other websites either.


example 1:
https://xmovies247.com/watch/eyan-09...nius-8443.html


It links to https://www.youtube.com/watch?v=0B6DPdtgYY0 when I click the youtube button on the player.
It's unable to watch.


Also, it's unable to watch when it's embedded on other websites ( https://jsfiddle.net/aaatqodn/ )




example 2:
https://ohyeah1080.com/video/passion...-fuck-me-1080/
The link from the youtube button is https://www.youtube.com/watch?v=0B3OABXD_G4
Embed it on other websites: https://jsfiddle.net/aaatqodn/1/


Another weird thing is when you try to use the right click to get the link by another youtube feature, the link you got is kind of different.
In the first example, you can get https://youtu.be/0B6DPdtgYY2dVWHA0bE9aRWs4VTQ
The second one is https://youtu.be/0B3OABXD_G640YUVvY2pWVFQ1bkk
The links would be longer but it'll redirect to the same link.


But normal videos will be the same link.
https://jsfiddle.net/aaatqodn/2/


The videos of those examples are not just set to private video or unlisted video.
It will show "it's a private video" if it's a private video.
The unlisted video is able to watch on youtube.


Is anyone know how they do it?

__________________
Added after 1 Day 18 Hours:

Sorry for the broken link.
The link of example 1 is https://xmovies247.com/watch/eyan-092-slut-genius-8443.html
The link of example 2 is https://ohyeah1080.com/video/passion-hd-170708-lana-rhoades-tease-me-then-fuck-me-1080/
 
Last edited:
4 comments
I wouldnt build your site around that. It is very easy to dmca your content and also a probeably a bug in youtubes system that will be resolved in a few weeks / months so nothing lasting
 
Status
Not open for further replies.
Back
Top