Skip to content

youtube plugin for Clappr, added options to select playback quality and captions (CC)

Notifications You must be signed in to change notification settings

ewwink/clappr-youtube-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

clappr-youtube-plugin

youtube plugin for Clappr, added options to select playback quality and captions (CC)

TODO

  • Add Playback Speed
  • Add Subtitle Translation
  • Add Show Hide Annotation
  • Add Setting (Gear icon)

DEMO

https://ewwink.github.io/clappr-youtube-plugin/

var playerElement = document.getElementById("player-wrapper");

var ytid = '4hME3n8Lkbs'; // with CC 
//var ytid = '9ZXTBHqG6CA'; // no CC
var player = new Clappr.Player({
  source: ytid,
  poster: 'https://i.ytimg.com/vi/'+ytid+'/hqdefault.jpg',
  height: 360,
  width: 640,
  plugins: [YoutubePlugin, YoutubePluginControl],
  YoutubeVars : {"languageCode":"en"}
});

player.attachTo(playerElement);

clappr-youtube-plugin

About

youtube plugin for Clappr, added options to select playback quality and captions (CC)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published