Hello I was searching, I found solution by changing $params default array to this
$params = array
(
'title' => 'title example',
'description' => 'description example',
'tags' => array
(
'tag1',
'tag2'
),
'status' => 'private',
'category' => '1',
'video_path' => 'example.webm'
);
Hello I was searching, I found solution by changing $params default array to this
These categories list https://gist.github.com/dgp/1b24bf2961521bd75d6c
the other issue I solved by creating new project on Google cloud console and enabling YT API and enable the app in options