How to get redirector.googlevideo link - youtube

i have a problem, becouse i want to use JWplay including a redirector.googlevideo link, but i cant do that.
i need to know how to get a video link like redirector.googlevideo for put in JWplayer. I have a google drive account, but i don't know how to create a link like: https://redirector.googlevideo.com/videoplayback?id...
I already upload a video in google drive but i don't know how can i resolve this problem
Thanks !

I don't think this is supported by the Drive API per se, as I used Files.get to retrieve all the drive metadata but this link could not be found.
However, I found this Google-Drive-Player-Script which might help you as it
"Grabs google drive streaming links
(redirector.googlevideo.com/videoplayback?..)"
Check it out.

Related

How to check sources who join my channel on Telegram?

I have a Telegram channel and I share links on YouTube, Facebook, blogs and other sites. So my question is how to know from what source the user joined?
Please help me to solve it. Thanks.
For that you'll need to use URL shortening services like cutt.ly, that provides analytics on visiting generated URLs. So you can generate and share them instead of direct URLs.
Also, you can add/implement similar functionality to your blog site and track UTM-labels together with others (that you probably use) in service like Google Analytics.
There is no way because when you share anywhere your channel path stays fixed, telegram doesn't support that.

Use Google Drive as an external editor

I have a website that stores, parses and display .docx files. I want to give users a way to edit those files.
I don't want to embed a third-party widget in my website and I thought that I could use Google Drive API. My idea is that I can give user a button “Edit in Google Drive” which back to my server somehow.
The problem is that I haven't found neither API function that allows to do that nor examples of such approach.
Am I on the right way? Can my idea work? If yes, then how can I do it?
Look at the drive api. There is one to upload a new file and optionally convert it to native google format.
To upload it, read about using oauth2 to authorize storing it on the user's drive. User must have Drive of course.
After the user finishes editing, they press a button or something on your site so you use the drive api to either read the gdoc and convert yourself to docx or use the drive api to download as docx.
Both uses of drive api are explained in the docs.

Search YouTube API without login in

I'm creating an app where i would like to display video result from the YouTube site.
However, i do not want the user to register for this.
After i registered my app, and allowed "YouTube Data Api", Still when i'm calling from my app:
https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=3&order=relevance&q=test&regionCode=AR&type=video&key={MyKey}
I'm getting back "forbidden (403)"
This issue suppose to be really simple, but i'm really straggling to get this to work, i'm thinking maybe it has something to do with the new API version 3.0, that you can not search without authentication?
Any help would be much appreciated thanks.
You can use below URL for searching of youtube videos using version3
https://www.googleapis.com/youtube/v3/search?part=snippet&q=nokialumia&key=#"API _KEY"&maxResults=20&pageToken=0
For suggestions of you tube videos you can use below link. It will gives you the data in XML format. You can parse and get results.
http://suggestqueries.google.com/complete/search?output=toolbar&ds=yt&q=nokialumia
If you want to use Version 2 use below link
Youtube Search using version 2.0
Hope it helps you...!
What kind of results do you want to see? Views, comments, share, likes? I think that you are not able to see any results by Youtube Data Api or Youtube Analytics API V3 without a valid key. You can find all error codes and their meanings from this link.
I hope it helps.

Google Drive as a video hosting/streaming platform?

I'm developing an iOS app that generate video files and have a social gallery for users to display their clips. After a lot of research I found that Google Drive would be perfect to fit my needs so I did some testing and sucessfully made the app upload the file to GDrive and everything.
Now I need to stream the uploaded file in a MPMoviePlayerViewController, for that I would need some kind of direct link, I'm right? After my initial tests I used the variable WebContentLink as a source URL and it worked flawlessly, I was really happy with the result, however now it doesn't work anymore, I don't know what happened and I think the method that I used is not realiable? I tried all the other possible links and none of them seems to work.
Can someone give a guidance about if this is really supported by Google Drive and how it's the best way to archive that in a reliable way?
Thank you very much !
I too encounter the same error when I try to download 28 times (testing) the same 24mb file.
However I realise if I am to download using the content owner ID, it does allow downloading after the 28th time
https://docs.google.com/a/onwardsct.com/uc?id=0ByvXJAlpPqQPYWNqY0V3MGs0Ujg&export=download
Sorry, you can't view or download this file at this time.
Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.
The experience for streaming files natively is not ideal right now, sorry. It is something Google are working on.
You are doing this correctly though. The webContentLink should use the user's quota, and that should be enough for most cases. If you can give some specific numbers, we can look at it.
The embed link is the best way to show it on a mobile device, but as you say won't work everywhere.
yes, google drive can be used for hosting and stream videos as you like. It can also be used as demo server for web projects. Here is how to host a website on Google drive.

Getting thumbnails for files(first page) using SkyDrive api ios

Am created one ios books reader application.. In this application am integrated google drive and skydrive.. Now i can able to signin and retrive datas from google drive and skydrive..
In google drive i can able to get thumbnail views of my files.. In google drive have an option for getting thumbnails.. Using thumbnail url.
In sky drive i searched a lot i cant able to get for this.. Is it possible to get thumbnails of my files(First page) in Sky drive
Really am working on two days in that.. I cant able to get any resource.. So pls help me
I understand your sincerity. No one will help for this, because there is no source to get first page of thumbnail directly. So you should work hard and write code in your self to get this done. Good Luck...
Thanks,
Senthil.
You need to contact the SkyDrive API developers. Their documentation is incomplete. Maybe there is a way to get the thumbnail of a file however it is not indicated in the documentation.
Yes there is a way to get the file thumbnail from SkyDrive iOS API. In the JSON data-model you receive from the SkyDrive API, retrieve value for the key "picture". This value is a string with the thumbnail-download-url. Here's how you'll get it(assuming jsonFileModel is an NSDictionary* representing a SkyDrive file):
NSString *thumbnailDownloadURL = [jsonFileModel objectForKey: #"picture"];

Resources