How can I send files uploaded on my Wordpress page to Google Drive?
You need to write a authentication with the google drive api, and go from there.
This is not an easy thing to explain here.
The process of sending a file to drive is explained in this topic, although this is a plain php solution.
Google Drive PHP API - Simple File Upload
You need to hook this into some WordPress action to actually send an upload to Drive.
Related
I am managing a Wordpress website that uses the Ultimate Video Player plugin in order to render video files that are stored in my Google Drive account.
Plugin details: https://www.webdesign-flash.ro/p/uvp/
In order to render the Google Drive video files, this plugin needs the video file sources to be created using the following format:
https://www.googleapis.com/drive/v3/files/[file_id]?alt=media&key=[api_key]&v=[.mp4/.mp3/etc]
Therefore I have created a Google API key that I’m using to build my video source links.
So here are my questions:
Are there any limitations as to how many times a video can be visualised on my website (how many hits it gets) using the GoogleAPI key created?
Is there a download quota that can be exceeded by rendering these video files on my website as described above?
Thank you very much for your assistance.
I'm hosting a website through Github and I have pdf files hosted on it. The pdf file is accessed by directly using the URL and not by pressing a link. So, the only way to access the PDF is by typing http://website.com/resume.pdf.
I was wondering if its possible to use google analytics to see who visits the specific PDF file, and how to do it?
Google Analytics is usually implemented via clientsite (javascript) tracking code. Since you cannot embed that into a pdf document you cannot use it to track direct downloads.
What you can do (presumably, I'm not familiar with how Github hosting works) is to set up a "proxy" page that records the hit and then redirects the user to the download. You would redirect all requests to PDF files to this proxy page (via htaccess or similar) so your existing urls remain valid. Then you can track the hit (either via JS or serverside with the measurement protocol) and fetch the document based on the original request url.
So I have Mywebsite (ex. MyWeb.Com)
(ASP MVC )
And Users Can upload their photo to my site. Now I want after upload give options upload to Google Drive/Dropbox/Facebook . But user need Login for it.
I not have idea how do it. How make Login forms on my web, and how send files to their account
P.S - Sorry for my English
Please give me some tips.
Thank you
for Google Drive you can use simply use JavaScript please go through below link
Run a Drive app in JavaScript
I want to use google drive functionality in my website, like user can view, download and upload their google drive content after providing login credentials using my website.
Is this functionality possible? Feel free to correct me if i'm wrong.
You can embed google drive functionality in your website. For that google provides google drive api. For CMS like Joomla can be used for embedding it into your webpage. Here is one link which lists the steps for plugging in the Google drive api into your webpage:
https://docs.google.com/presentation/d/1KBFyPhCbDVwT1PZG8mmjWIsB2nBMvOfoVr8_VOSIoGE/edit?pli=1#slide=id.gf0ec6a4_0_114
Thanks
Using Google Drive SDK for .NET, file-explorer could be developed which can connect Google Drive for saving and retrieving changes. Read start-up guide here and try hands-on DrEdit Web Application example which clearly demonstrates how to implement the same.
I'm working on a online file library for one of my clients. It's a library for mostly PDFs and office documents. Because they are a huge amount(almost 2gb in files), I'm hosting them on another site(divshare), so that the hosting account we have doesn't get blocked by the excess of files, and also because of excess traffic downloading can generate.
So, my question is if there is a good download manager(even with some search for download categories and so) that can handle instead of local uploaded files, URLs of files hosted somewhere else?
The advice about any plugin or the like is very appreciated.
You ask how to code such manager, right? Otherwise, your are on the wrong site...
I think you need to make a kind of file manager, except that instead of generating HTML pages to view the files and act on them, it exposes a Web API, returning XML or Json data, that a WordPress plugin can manage.
From Divshare:
The DivShare Uploader Plugin for Wordpress replaces your regular
uploading frame with a DivShare upload form, allowing you to easily
upload and add files without ever leaving your "Write a Post" page.
It's a great way to speed up your blogging and take the load off your
servers when hosting big files and images.
It can be found here: http://www.divshare.com/integrate
Good Luck!
Marcelous