Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All,


I have created a website, in which I have embedded a youtube video. Now my problem is when I go to that video and right click on it, there will be an option "Watch on Youtube" that redirects directly to the youtube website and that is what I don't like.
Is there anything by which I would able to manage that right click menue and just lock that video and only play at my website?

Thanks In advance,

Please help me!

Regards,
Peter
Posted
Updated 1-Apr-11 1:22am
v2

1 solution

This is funny. Years ago a representative of http://www.youtube.com/[^] asked CodeProject a question:
"My problem is when people embed Youtube video in there sites the users cannot redirect it directly to youtube.com and that is what I don't like. Is there any way to add an option "Watch on Youtube" which would re-direct the user to youtube.com the way the developer of the Website embedding the video could not remove?"
That Question was answered; and you're probably too late. :-)

—SA
 
Share this answer
 
v2
Comments
Smithers-Jones 1-Apr-11 12:22pm    
:-)
Albin Abel 1-Apr-11 12:56pm    
Ha ha. :)
Sergey Alexandrovich Kryukov 1-Apr-11 15:18pm    
I'm glad you like it. Thank you, Albin.

This is not just a joke. Such war of mutual prevention is completely counter-productive (this is a note for those who have trouble getting hints).

--SA
Albin Abel 1-Apr-11 16:20pm    
Agreed it is counter-productive
fjdiewornncalwe 1-Apr-11 17:35pm    
Awesome... +5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900