Tagged with google_drive - Personal View Talks https://personal-view.com/talks/discussions/tagged/google_drive/feed.rss Fri, 22 Nov 24 16:51:50 +0000 Tagged with google_drive - Personal View Talks en-CA How to embed photo and video directly from google drive https://personal-view.com/talks/discussion/7379/how-to-embed-photo-and-video-directly-from-google-drive Fri, 28 Jun 2013 13:17:35 +0000 maxr 7379@/talks/discussions  

UPDATE

Doesn't work any more with video, my precious precious bandwith


intro: by no means I master code, html or anything related... maybe just stupidity :D
I like to find new ways, easier ways (other than stupid I'm lazy as hell) to do whatever I need/want to do.
google drive gives you 15 Gb of storage, that's 4 times dropbox's offer. dropbox it is very easy to link and embed, not so G drive.

in your google drive, select the image (still or motion) "sharing" options and change it from private to "anyone with the link"

then copy the link something like this https://docs.google.com/file/e/0Bxdrjp4jb-YsOHTjQWlqa0x3LWc/edit?usp=sharing

take the long sequence of letters and numbers and pasted at the end of this http://drive.google.com/uc?export=view&id=

so would look something like this http://drive.google.com/uc?export=view&id=0Bxdrjp4jb-YsOHTjQWlqa0x3LWc

if it is a still image you can now just embed it wherever you want, i.e. in this forum's (markdown) post ![text]•http://drive.google.com/uc?export=view&id=0Bxdrjp4jb-YsOHTjQWlqa0x3LWc changing the "•" for "( ... )"

if it is a video it's a bit more complicated and google is very attached to its bandwith, anyhow the easy way - tested in .flv, mp4 and .mov videos - go to this video link generator paste your link and choose title, size and flash player. probably depends on site and browser configuration but I got good results with HTML5+flash

that's it, if you've got better way please share ;)

gashô

PS - though in leaving a nice example of what's this technology trick good for ;)

test

]]>