![]() I spent a lot of time trying to get around this (inc building a google drive app with the api), I'm afraid it looks like there's no way round it.ĭon't use google drive to serve up video in html unless you know all your users will be authenticated with google. I've done a bit more reading and I'm afraid the video will only play on browsers that are logged into a google account. That said, I'd be interested to see some proper documentation from google on it - I want to use this in production, but feel like I need to do more reading to be confident. Ī lot of people seem to be suggesting creating an API app in order to get the file ID, but it looks like you can guess it pretty easy. Now I've got a video working with the following html. I've cut what I guessed to be the file ID from the URL - 0B4BsAbG4atWHQzVfLUU3UnhhZTAĪnd added it to metal7's url to create a src attribute for a source tag Google then gives me a link to share that looks like If youre not seeing them check if youre using the right. Step5 : Now go to Primary account folder and delete. Files shared with you that have been added to your My Drive will show up on Drive File Stream. Step4 : Open your secondary Gmail account, select the shared folder and copy all the files with the extension. Step3 : Share that particular holder to your secondary Gmail account. In google drive I placed the video file in a publicly shared folder then rightclick the file and select share > share. Step2 : Open your Google drive account (primary) where all your file exists. ![]() OK, I've just managed to get this working as follows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |