-
Notifications
You must be signed in to change notification settings - Fork 806
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
Document acceptable formats for video macro #79
Comments
Additional discussion: http://discuss.asciidoctor.org/Including-Vimeo-videos-in-a-document-td492.html |
I think the way we should approach this is to downplay the use of local videos for "popular" uses of AsciiDoc (i.e., non-specialty). Serving videos properly is a complex and ever-changing web issue (that's why sites like Vimeo exist). It's not just about getting the video embedded properly, but the fact that it's going to consume tons of bandwidth and browser support is questionable at best. To summarize, we should encourage the use of the YouTube or Vimeo service in the video macro, citing that this way, the complexity is offloaded to a third-party and portability is highest. Then, we can say that if you are well-versed in self-hosting videos and that is a requirement for your docs, then that's when you want to use the video tag without a service. |
The issue regarding extension in Java is asciidoctor#79 and not asciidoctor#97
http://asciidoctor.org/docs/user-manual/#video is where this content should go. It is currently not mentioned explicitly, so this guidance needs to be added. |
Support for video formats depends on the browser and the year. The best strategy here is to link to a resource that maintains and updates such information. MDN comes to mind. https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats |
Sounds like a good approach. I'll likely take this one once I finish On Tue, 26 Jan 2016 at 10:33 Dan Allen [email protected] wrote:
Sent from Mobile. |
Thanks @jaredmorgs! |
Btw, I love MDN. I think we should take notes from that site and model some of our own docs on their practices. I practically live at MDN these days. |
Merged as 7298fd1. I did some minor revisions on the intro and I moved to recommendation to use a hosted service into a TIP. |
Not all video formats can be used with the video tag. Make a note of this in the documentation / writer's guide. Something along the lines of:
The text was updated successfully, but these errors were encountered: