Youtube Upload


#1

I want to upload the video to Youtube, anyone have done that before ?


#2

You can follow the example here:
https://developers.google.com/youtube/v3/code_samples/javascript#upload_video


#3

With the help of Ionic ? See this tutorials http://blog.oxrud.com/posts/creating-youtube-directive/


#4

I have found one name ng-youtube-upload, But…

How would you set “Authorized JavaScript origins” for youtube for the device ?

It works fine on the browser with the http://localhost:8100, but not on mobile with error 400: invalid request ~ Invalid parameter value for origin: Missing authority: file://

Anyone got any idea ?

Many thanks.


#5

Have you used whitelist for youtube ?


#6

Whitelist for youtube ?

Is it not the same with whitelist plugin ?


#7

This one also not working…

I used the ng-youtube-upload which implemented from this code, but the same error occurs.

The function that is used is gapi.signin.render.

Do you have any idea ?


#8

were you able to make this work?