joedawson / youtube

Upload a video to a single YouTube channel with Laravel 5.
MIT License
175 stars 105 forks source link

adding ability to set video localization and default language #99

Closed AbdullahObaid closed 1 year ago

AbdullahObaid commented 5 years ago

example usage : $video = Youtube::upload($fullPathToVideo, [ 'title' => "Video_Title", 'description' => "Video_Description", 'tags' => ['foo', 'bar', 'baz'], 'category_id' => 10, 'default_language' => 'ar', 'localizations' => array( 'ta' => array( 'title' => 'TITLE_IN_GIVEN_LANG', 'description' => 'DESC_IN_GIVEN_LANG')) ], $privacy);