Google launches new Save to Drive
button that allows users to save web contents directly to Google Drive
account with one click. If you are a blogger or web master? you can
place the Save to Drive button into your site, that helps your site
visitors to save your post image directly to their Drive account with
one-click.
How to add Save To Drive Button
To add Save to Drive button on your website is easy. You simply have to include the script and HTML tag below
<script src="https://apis.google.com/js/plusone.js"></script><div class="g-savetodrive"data-filename="My Statement.pdf"data-sitename="My Company Name"data-src="/path/to/myfile.pdf"></div>
Demo
Click the Save button to save the above picture.
There is also the Save to Drive button’s JavaScript API, which allows programmatic and flexible control of the creation of Save to Drive buttons in your web pages
Google says "The Save to Drive button works in the context of the user’s browser. This allows your users to save files that could require some form of HTTP authorization – such as a session cookie – without any special customization from you. In most cases, the Save to Drive button should be simple to integrate, plug-and-play!"
Click the Save button to save the above picture.
There is also the Save to Drive button’s JavaScript API, which allows programmatic and flexible control of the creation of Save to Drive buttons in your web pages
Google says "The Save to Drive button works in the context of the user’s browser. This allows your users to save files that could require some form of HTTP authorization – such as a session cookie – without any special customization from you. In most cases, the Save to Drive button should be simple to integrate, plug-and-play!"
0 comments:
Post a Comment
Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. To add HTML CODE in comments then please use our Instant HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon our review.
4.Click Subscribe by Email to receive Replies