Skip to content

A bridge between Youtube embedded and C#. Contains a wpf usercontrol that shows a youtube video with support for embedded events and functions.

License

Notifications You must be signed in to change notification settings

Moerty/Csharp-YoutubePlayerControl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Csharp-YoutubePlayerControl

A bridge between Youtube javascript Iframe api and C#.

Contains a wpf usercontrol that shows a youtube video with support for embedded events and functions. The control support almost all the events and functions the javascript embedded does (https://developers.google.com/youtube/iframe_api_reference).

#What videos can be watched? All videos that are not private, embeddable and not copyright withold from showing on other sites than youtube.

#Under the hood. A usercontrols that wraps a CefSharp. The webcontrol contains a youtube embedded player which the usercontrol communicates with.

##How to use ###How to import into to my project? download source compile and reference dll's.

###NB! as noted in the iframe api, trying to change the quality of a video, may be ignored by the iframeplayer. The build and debug must either be set to x86 or x64 because of CEF. From [youtube api] (https://developers.google.com/youtube/iframe_api_reference#Requirements): "recommend 16:9 players be at least 480 pixels wide and 270 pixels tall." ###How to use the controls. See example project.

About

A bridge between Youtube embedded and C#. Contains a wpf usercontrol that shows a youtube video with support for embedded events and functions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 92.9%
  • HTML 4.1%
  • JavaScript 3.0%