I am creating YouTube live broadcasts using YouTube live streaming API (by using PHP API client library) everything is working fine my question is can we also set thumbnails to that broadcast object using API so that on events page or watch page it shows our custom image right now its shows channel default image? If yes then please let us know how we can achieve that.
I have noted we can change thumbnail through website but i want to change it using PHP API client.
Thanks,
Faraz
I'm using Unity3D 5.3.5 to build my application. I'm using PHP7 to generate JSON APIs. I was trying to stream 360 videos on my Android app. So, I bought Easy Movie Texture plugin from the asset store. Now, I can play 360 degrees videos both locally and from my server. No Problem There!
However, I cannot find a way to access the direct link in a legal manner.
For example, a Youtube link https://www.youtube.com/watch?v=xxxxxxx would take you to a youtube page. But I am looking for a way to access the direct link like this one
https://r3---sn-4g57knrz.googlevideo.com/videoplayback?sparams=dur,ei,expire,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pl,ratebypass,requiressl,source,upn&id=o-AKELtsm___flI-ul3_x4DfHIoNWeQHQUOqjyrBF6eEDC&ip=27.34.106.98&ei=dcC3WJnWOsHKcrfjhLAI&requiressl=yes&pl=18&expire=1488458966&signature=2C08D077FAB84A30DFFE5472BD58539C44850FB2.73F0822B30B45C123589B6EB823612904BFEF35A&lmt=1488437275021563&beids=%5B9452307%5D&itag=22&key=cms1&mime=video%2Fmp4&ipbits=0&dur=118.166&source=youtube&ratebypass=yes&upn=yqEA5wXYUl4&cm2rm=sn-fapo3ox25a-3uhl7s,sn-25gz77z&req_id=11a107d03147a3ee&redirect_counter=2&cms_redirect=yes&mm=34&mn=sn-4g57knrz&ms=ltu&mt=1488439397&mv=m
I got the link through VLC Media Player's Network Stream feature. The problem with these links is that they expire and it isn't fully legal to access them as per this link:
how can get direct link from youtube video with youtube api v3
So, how on earth do I stream 360 degrees youtube video through my app in unity?
I am building an android app where users need to upload & retrieve the images. I need to do that with the Google Cloud Storage. How can I do that if there is a way? I have used PHP as a backend & APIs. I see that they provide APIs for that but there is no way of direct implementation with the PHP. The backend and APIs' code is uploaded on the Google Compute Engine.
You could either upload the image on your frontend and give the url of the image to your BackEnd. Or you could use the GCS JSON API from your php backend to upload the image from there. Here is an example of using the JSON API to upload an image to cloud storage, but in the end it's just a simple POST request which can easily be done in php.
Further info:
https://cloud.google.com/storage/docs/json_api/
https://cloud.google.com/storage/docs/json_api/v1/json-api-php-samples
i am trying to develop web application for video upload from website to youtube channel.
I have already created Client ID, Client secret and API Key.
But i don't know how to use it, also found tutorial on online but any time i unable to complete this script.
anybody have ready-made script, so i can complete my project.
YouTube's developers site has PHP video upload sample code here.
Is there any way by using Google's API and Flickr's API to share files without downloading them on my host?
I currently did the authorization and files listing from google drive. But I'm not quite sure how to make the sharing.