Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

function_loadYoutubeVideo

Wesley de Groot edited this page Jan 2, 2016 · 14 revisions

tvOS.loadYouTubeVideo(videoID, callback)

get the mp4 URL of a youtube video

Parameters

Type @var Description Required
string videoID the video ID Required
function callback Callback Required

Example

tvOS.loadYoutubeVideo(videoID, function (video) {
  console.log('Video url=' + video)
})



Back to function list

Clone this wiki locally