-
Notifications
You must be signed in to change notification settings - Fork 13
YouTube
Wesley De Groot edited this page Nov 22, 2015
·
6 revisions
evaluateScripts(['https://wdg.github.io/tvOS.js/tvOS.js'], function (success) {
if (success) {
tvOS.loadYouTubeVideo('JfG__VEF2yg', function (video) {
var player = new Player()
var playlist = new Playlist()
var mediaItem = new MediaItem('video', video)
player.playlist = playlist
player.playlist.push(mediaItem)
player.present()
})
} else {
console.log('Missing required files!')
}
})
Please see: This (Open issues: 1)
Wesley de Groot • CC-BY 4.0