Personal View site logo
Make sure to join PV on Telegram or Facebook! Perfect to keep up with community on your smartphone.
Please, support PV!
It allows to keep PV going, with more focus towards AI, but keeping be one of the few truly independent places.
How to embed photo and video directly from google drive
  •  

    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