-
Notifications
You must be signed in to change notification settings - Fork 10
YoutubeImport_ImportHelper
Ned Henry edited this page Jun 6, 2014
·
1 revision
The YoutubeImport import helper class.
- Class name: YoutubeImport_ImportHelper
- Namespace:
public string $youtube_api_key = 'AIzaSyDI8ApsA7MBIK4M1Ubs9k4-Rk7_KOeYJ5w'
- Visibility: public
- This property is static.
public string $appName = "OmekaYouTubeImport"
- Visibility: public
- This property is static.
\$string YoutubeImport_ImportHelper::\YoutubeImport_ImportHelper::ParseURL()($url)
Parse the Youtube url parameter
- Visibility: public
- This method is static.
- $url mixed
array YoutubeImport_ImportHelper::\YoutubeImport_ImportHelper::GetVideo()(string $itemID, object $service, int $collection, string $ownerRole, $public)
Fetch metadata from a Youtube video and prepare it
- Visibility: public
- This method is static.
- $itemID string - <p>The Youtube video ID from which to extract metadata</p>
- $service object - <p>The youtube API php interface instance</p>
- $collection int - <p>The ID of the collection to which to add the new item</p>
- $ownerRole string - <p>The name of the dublin core field to which to add the Youtube user info</p>
- $public mixed