Click here to Skip to main content
15,120,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to play youtube videos in media element. I don't want to embed youtube player in my applicaiton using web browser control

1 solution

You don't. It's a violation of YouTube Terms of Service to play the content in anything other than their player.

Straight from their TOS:
4. General Use of the Service—Permissions and Restrictions

YouTube hereby grants you permission to access and use the Service as set forth in these Terms of Service, provided that:
A.You agree not to distribute in any medium any part of the Service or the Content without YouTube's prior written authorization, unless YouTube makes available the means for such distribution through functionality offered by the Service (such as the Embeddable Player).
B.You agree not to alter or modify any part of the Service.
C.You agree not to access Content through any technology or means other than the video playback pages of the Service itself, the Embeddable Player, or other explicitly authorized means YouTube may designate.
Maciej Los 17-Apr-13 13:54pm
Everything what OP should do is to read YouTube terms... Interesting ;)

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