-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Feature request: Allow {% youtube %} tag to load a playlist #3267
Comments
Hey @RichardJECooke 👋 It sounds like a good idea for a plugin. |
This is actually already possible if you use AsciiDoc (.adoc) rather than Markdown (.md) for posts and pages. AsciiDoc is a MUCH better markup language all round, and it supports things out of the box the Hexo provides plugins for unnecessarily. In an .adoc post you can just say: video::155635261[vimeo, width=700, height=400, theme=dark] or video::X-prfGOo_wA[youtube, list=PLAzBJ4GymH-ynRtLdbbOFYl3eKkm-c5AK] Here's a guide on how to use video in AsciiDoc: https://asciidoctor.org/docs/user-manual/#youtube-and-vimeo-videos |
Do you think this plugin will help with that? https://github.com/hcoona/hexo-renderer-asciidoc |
Yup, that's the one I linked in my comment. It works great. I'm switching to it from now on for all my articles (it also does stuff like bibliography entries, numbered outline headings, table of contents, and the format also allows you to export to PDF or Word later if you want to). |
From Google Document I could see it is possible to use https://support.google.com/youtube/answer/171780?hl=en I might add support for this. Update: YouTube could embed playlist with url format like this: So you can try use |
For feature request
It would be great to allow youtube playlists as well as just embedding single videos. Example use case: I have a whole lot of music video representing a portfolio that I would like people to be able to click 'next' through, rather than scrolling down my page and loading and playing each video individually.
The text was updated successfully, but these errors were encountered: