There are DokuWiki plugins for research & education which I developed. All plugins are under GPL2 license, so feel free to use them in your DokuWiki.
Dokuwiki Official
DokuWiki plugins for bioscience and biotechnology.
This DokuWiki plugin creates a link and embed a YouTube movie in an Wiki page. User can embed movies by just inputing a movie ID with a simple syntax.
This old code won't be maintained anymore. Use other plugins 'vshare' or 'youtubev2'
You can display a YouTube movie by setting the 'command' and the 'ID' code. You can align the movie object by using whitespaces before/after brackets.
{{youtube>(command):(ID code)|(title)}}
search?q=small%3AMJj5XWQHUFE&btnI=lucky
Commands
link | Displays a link icon only. |
---|---|
small | Displays a small YouTube movie. |
large | Displays a large YouTube movie. |
ID code
You can find the ID code in the YouTube site.
Title
You can define a title of movie by putting on a pipe '|' after ID. It's optional.
Alignment
Use white spaces for alignment of YouTube movie object. Syntax is same as images.
default | {{youtube>small:XXXXXX}} |
---|---|
right | {{ youtube>small:XXXXXX}} |
left | {{youtube>small:XXXXXX }} |
center | {{ youtube>small:XXXXXX }} |
<clear/>
<float right300> Syntax
**Link only**\\ {{youtube>link:MJj5XWQHUFE}} {{youtube>link:MJj5XWQHUFE|Moving atoms at variuous temp.}} **Default**\\ {{youtube>small:MJj5XWQHUFE}} {{youtube>small:MJj5XWQHUFE }} {{ youtube>small:MJj5XWQHUFE|This movie is aligned to right.}} <- Aligned left\\ \\ \\ \\ Aligned right ->
</float>
Link only
search?q=link%3AMJj5XWQHUFE&btnI=lucky
Moving atoms at variuous temp.
Default
search?q=small%3AMJj5XWQHUFE&btnI=lucky
search?q=small%3AMJj5XWQHUFE&btnI=lucky This movie is aligned to right.
← Aligned left
Aligned right →
<clear/>
<float icon(compass)>
</float> <clear/>