plugin:video
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:video [2009-07-13 14:01] – 86.126.128.210 | plugin:video [2022-01-13 01:28] (current) – Klap-in | ||
---|---|---|---|
Line 10: | Line 10: | ||
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : video, embed | + | tags : |
---- | ---- | ||
+ | |||
+ | See for recent info [[: | ||
====Background==== | ====Background==== | ||
Line 21: | Line 23: | ||
I borrowed the syntax and some code from [[plugin: | I borrowed the syntax and some code from [[plugin: | ||
- | |||
- | |||
====Syntax==== | ====Syntax==== | ||
< | < | ||
- | {{video> | + | {{video> |
</ | </ | ||
+ | |||
+ | Replace the word ' | ||
+ | video for .AVI\\ | ||
+ | flash for .swf\\ | ||
+ | movie for .mov\\ | ||
+ | mp3 for .mp3\\ | ||
+ | mpeg for .mpeg\\ | ||
+ | realvideo for .ram\\ | ||
+ | midi for .midi\\ | ||
+ | |||
The alternate text is very important because if the browser does not support the embedded video it will show the alt text as a link to the video URL so that they can download it. | The alternate text is very important because if the browser does not support the embedded video it will show the alt text as a link to the video URL so that they can download it. | ||
+ | |||
+ | To specify the height and width of the movie, you will need to apply the fix listed below in the discussion for 2010.4.10. | ||
+ | |||
====Code==== | ====Code==== | ||
Line 134: | Line 147: | ||
* When the browser cannot display the video, it shows alternate text that links to download the video instead. | * When the browser cannot display the video, it shows alternate text that links to download the video instead. | ||
- | * The plugin (including tweaks from Chris Smith) can be downloaded in either [[http://www.cdsmith.plus.com/ | + | * The plugin (including tweaks from Chris Smith) can be downloaded in either [[http://dokuwiki.jalakai.co.uk/ |
====Release Notes=== | ====Release Notes=== | ||
Line 145: | Line 158: | ||
I thought about tweaking the script where you can upload images and allow you to upload the video and pick it from that window menu... but then I decided that required far too much thought. | I thought about tweaking the script where you can upload images and allow you to upload the video and pick it from that window menu... but then I decided that required far too much thought. | ||
- | > Add the file extension for the video files to '' | + | > Add the file extension for the video files to '' |
Line 153: | Line 166: | ||
The plugin works well for avi, wmv files. Thanks. | The plugin works well for avi, wmv files. Thanks. | ||
- | It will be good if there is a plugin for quicktime | + | It will be good if there is a plugin for QuickTime |
- | See below extended version of plugin, which supports, | + | See below extended version of plugin, which supports, |
<code php> | <code php> | ||
Line 342: | Line 355: | ||
>> The directory needs to be called '' | >> The directory needs to be called '' | ||
- | >>> | + | >>> |
- | >>>> | + | >>>> |
>>>>> | >>>>> | ||
Does this plugin work with the new version (2006-03-09) of DokuWiki? --- //Sergei 2006-04-05 9:58// | Does this plugin work with the new version (2006-03-09) of DokuWiki? --- //Sergei 2006-04-05 9:58// | ||
> | > | ||
- | >> | + | >> |
**Bug with feed.php? | **Bug with feed.php? | ||
Line 400: | Line 413: | ||
---- | ---- | ||
- | 2009.07.13 - Is it possible to render a video uploaded in the Upload File option of doku wiki. For example to use some line like: | + | 2009.07.13 - Is it possible to render a video uploaded in the Upload File option of DokuWiki. For example to use some line like: |
< | < | ||
Robert | Robert | ||
+ | >It doesn' | ||
+ | |||
+ | ----- | ||
+ | 2010.04.10\\ | ||
+ | The syntax | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | Does not work, as the preg_match syntax doesn' | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | |||
+ | with this | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | |||
+ | fixes it, and allows you to specify width and height, provided you specify both. ie: | ||
+ | |||
+ | both: | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | |||
+ | and: | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | |||
+ | will work. The latter will use the default sizes 640x480. | ||
+ | |||
+ | - Noel |
plugin/video.1247486502.txt.gz · Last modified: 2009-07-13 14:01 by 86.126.128.210