1

I need to share and upload my videos to youtube in Titanium Alloy for both iOS and Android. Is there any Youtube API available for Titanium ?

Ajit
  • 339
  • 5
  • 15
  • No I dont think their is any Titanium related API for uploading videos to youtube. But you can utilize [Youtube rest API's](https://developers.google.com/youtube/v3/) for same. – turtle Feb 24 '15 at 14:20
  • @turtle There is Javascript APIs available but i think these are browser dependent .How can i utilize them ? can you please suggest me or share some code. – Ajit Feb 25 '15 at 05:34
  • Well Ajit, I dont have any doc/tutorial but the Youtube Api's are restful. So you can check the doc to integrate it. For using Youtube Api's, I think you will need oAuth token. You can use [this module](https://github.com/ejci/Google-Auth-for-Titanium) to fetch oAuth token and then check Youtube Api's for further progress. – turtle Feb 25 '15 at 05:51
  • 1
    [This answer](http://stackoverflow.com/a/27269010/3419997) is related to uploading files to google drive; you can check how the coding is done referring the drive's doc. – turtle Feb 25 '15 at 05:53
  • Thanks @turtle let me try those – Ajit Feb 25 '15 at 06:00
  • @turtle : Other than this method , i can use intents to choose video and share in desired apps in android. Is there any way i can have the same functionality in ios? – Ajit Feb 25 '15 at 09:38
  • 1
    You would want to check [this answer](http://stackoverflow.com/questions/17440935/equivalent-to-androids-share-intent-concept-for-iphone-using-titanium). – turtle Feb 25 '15 at 09:51

1 Answers1

3

this Answer

will work like charm

Community
  • 1
  • 1
Vishal Sharma
  • 178
  • 10
  • Thanks , but please check the author . I have written that blog. I was searching for any Titanium methods to do instead. – Ajit Mar 18 '15 at 10:09
  • @Ajit can you help me adding uploaded video to a specific channel (pre fetched ) by passing in parts or somewhere ? – Vishal Sharma Mar 18 '15 at 11:32
  • Yes you have to add parts to pre-fetched channel and make REST call to upload to a specific channel.Please explain your problem. – Ajit Apr 07 '15 at 13:51
  • Looks like i have to accept this answer as final one. – Ajit Apr 14 '15 at 08:13