S
S
Sergey Konovalenko2018-04-24 21:50:36
YouTube
Sergey Konovalenko, 2018-04-24 21:50:36

YouTube video, is it possible to prohibit the transition to the channel?

Hello, please tell me how to solve this problem. I am embedding a YouTube video on the site and I need to make sure that the user does not have any opportunity to go directly to the YouTube channel itself. Tell me, how can this be done? Thanks to

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
inkShio, 2018-04-24
@sergeykonovalenko

v1. Share > embed > settings.
v2. Use a player that plays videos from youtube.
v3. Make your own player using the YouTube API.

F
frees2, 2018-04-25
@frees2

It's easy, but why, fuss a lot and it's inconvenient for the consumer, he should have a choice, and rights ... We
take the player from the api, we change the script that is loaded, one line. We write the invisibility of the class in css, the simplest

<a class="ytp-youtube-button ytp-button yt-uix-sessionlink" target="_blank" data-sessionlink="feature=player-button" data-visual-id="7" href="https://www.youtube.com/watch?v=X2gcLUZ7qnw" title="Смотреть это видео на&nbsp;youtube.com"><svg height="100%" version="1.1" viewBox="0 0 67 36" width="100%">................

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question