Embed YouTube videos in Quaint documents
In your Quaint project directory, run the command:
quaint --setup youtube
Use the youtube
macro with a video ID:
youtube :: dQw4w9WgXcQ
youtube :: dQw4w9WgXcQ @ 300x300
@@youtube:dQw4w9WgXcQ
You can find the video ID in the YouTube URL, it's after v=
usually,
and is strictly alphanumeric.
The youtube
macro is used with a video id and optionally a size
directive. The simplest command to display a video is this one:
youtube :: dQw4w9WgXcQ
That will display the video at 640x390. If you want another size, you
can write it after an @
sign, just like this:
youtube :: dQw4w9WgXcQ @ 300x300
Alternatively to the youtube
macro, you can use the following link
syntax: @@youtube:video_id
. There is no difference between the two
syntaxes.
There are no options for this plugin.