This plugin works fine for videos with URL containing the ?id=[id] query string.
However, many Google drive videos seems to use an URL without query string, referencing /file/d/[id].
For example, when searching google.com for videos with inurl:drive.google.com, the first hit (for me) is
https://drive.google.com/file/d/0B5Ai34xMVq_YYzM2SHJnaTlWQ0U/view .
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | support_drive_video_embed_url.2920049.6.patch | 1.63 KB | alesbencina |
| #4 | support-file-d-urls-2920049-4.patch | 1.29 KB | florisla |
| #3 | support-file-d-urls-2920049-3.patch | 1.64 KB | florisla |
| #2 | support-file-d-url.patch | 1.83 KB | florisla |
Comments
Comment #2
florisla commentedNot sure if this is the correct patch format, but this works for me.
Comment #3
florisla commentedImproved the patch a bit. It's now based straight on the Git version (the previous one was based on the one from issue 2873612).
Comment #4
florisla commentedThis one is based on issue 2873612 again.
Comment #5
florisla commentedComment #6
alesbencina commentedHey, I have tested your patch and it is not applying. Added new patch and please test it.
Comment #7
Irix commentedHi, any update on this?
Now all my Google Drive videos have /file/d/[id] extension. Would be very appreciated a module update including the patch.
Thanks!
Comment #8
strykaizerThanks, tested and looks good.
Comment #10
strykaizer