Videojs - Youtube playback from URL


Setup Videojs to play youtube video Youtube video playback through VideoJs player with Nuevo plugin is very easy and only requires to provide youtube URL as video source parameter.

<script type="text/javascript" src="/videojs/video.min.js"></script>
<script type="text/javascript" src="/videojs/Youtube.min.js"></script>
<script type="text/javascript" src="/videojs/nuevo.min.js"></script>

<video id="example_video_1" data-setup='{ "techOrder": ["youtube"] }' class="video-js vjs-default-skin" controls >
<source src="" type="video/youtube">

var player = videojs('example_video_1');
	logo: '//',
	logoposition: 'RT',
	logourl: '//',

Unfortunately Youtube API Player is less and less attractive over the years.
From some time it does not allow to switch between video qualities. For this reason we left idea to display Youtube qualities menu as it does not effect in any visible change.
Also Youtube API option "show_info" which previously you could set to hide video information on screen now is depreciated and thre is no option to hide such Info like video title, youtube related, etc.