Skip to content

HTML5 video widget #2744

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

Closed
julienchazal opened this issue Oct 12, 2019 · 2 comments
Closed

HTML5 video widget #2744

julienchazal opened this issue Oct 12, 2019 · 2 comments

Comments

@julienchazal
Copy link

Describe the solution you'd like
After uploading a video in the media library, a "video widget" would be great to choose the video from media library.
It should be an extended image widget i think. 'cause right now image widget does not allow to choose a video from the media library. It would return the file path to use it in the templates with a <video> tag

Describe alternatives you've considered
I tried to add code from Instagram to embed a video in the markdown editor, but the <script> tag is removed when saving

@tomrutgers
Copy link
Contributor

Have you tried using the file widget? https://www.netlifycms.org/docs/widgets/#file

@julienchazal
Copy link
Author

Holly s***
As simple as that, sorry :)
Thx @tomrutgers

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

No branches or pull requests

2 participants