Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

id for Google Drive header video embed unclear #2420

Closed
louquillio opened this issue Mar 2, 2020 · 2 comments
Closed

id for Google Drive header video embed unclear #2420

louquillio opened this issue Mar 2, 2020 · 2 comments

Comments

@louquillio
Copy link

Motivation

I'd like to embed a Google Drive-hosted video header, but don't understand how to derive the id. The documentation seems to be a copy-paste of the method for YouTube. Here:

https://github.com/mmistakes/minimal-mistakes/blame/master/docs/_docs/14-helpers.md#L239

Suggestion

Can you please clarify? Thanks.

@mmistakes
Copy link
Owner

I didn't add or use this feature... so I'm not going to be much help.
But here's the pull request. You can sift through the code and hopefully figure things out.

#1967

Looks like id is coming from this sample <iframe> HTML that I assume Google Drive provides somewhere for embedding.

<iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>

@louquillio
Copy link
Author

Okay, thanks. You have to really dig for the id, but it exists.

https://support.google.com/blogger/thread/1950766

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants