Difference between revisions of "Extension:Wmvplayer"
Jump to navigation
Jump to search
(New page: This extension allows .wmv files to be streamed from external sites/servers on WikiVet via an embedded Windows Media Player. ==Usage== <p>The player is called using the <nowiki><wmvplaye...) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{toplink | |
+ | |linkpage =Help:Extensions | ||
+ | |linktext =Extensions | ||
+ | |pagetype=Help | ||
+ | }} | ||
+ | |||
+ | <p>This extension allows .wmv files to be streamed from external sites/servers on WikiVet via an embedded Windows Media Player.</p> | ||
+ | <p>Note: This extension appears to only work in Internet Explorer.</p> | ||
==Usage== | ==Usage== | ||
<p>The player is called using the <nowiki><wmvplayer> ... </wmvplayer></nowiki> tags. The following parameters are then declared between the tags by writing ''parameter''=''value''. Each parameter is seperated by a '|'.</p> | <p>The player is called using the <nowiki><wmvplayer> ... </wmvplayer></nowiki> tags. The following parameters are then declared between the tags by writing ''parameter''=''value''. Each parameter is seperated by a '|'.</p> | ||
Line 41: | Line 48: | ||
'''Gives''' | '''Gives''' | ||
<wmvplayer>file=http://stream2.rvc.ac.uk/Anatomy/bovine/pot0175.wmv|width=300|height=300</wmvplayer> | <wmvplayer>file=http://stream2.rvc.ac.uk/Anatomy/bovine/pot0175.wmv|width=300|height=300</wmvplayer> | ||
+ | [[Category:Help]] | ||
+ | [[Category:Extensions|W]] |
Latest revision as of 09:23, 3 April 2010
|
This extension allows .wmv files to be streamed from external sites/servers on WikiVet via an embedded Windows Media Player.
Note: This extension appears to only work in Internet Explorer.
Usage
The player is called using the <wmvplayer> ... </wmvplayer> tags. The following parameters are then declared between the tags by writing parameter=value. Each parameter is seperated by a '|'.
Parameter | Value (Default) | Output | Required |
---|---|---|---|
file | URL of '.wmv' file | Instructs player where to look for the video | Essential |
height | In pixels | Defines the players height in pixels | Essential |
width | In pixels | Defines the players width in pixels | Essential |
mute | True/False (False) | Determines whether player is initially muted | Optional |
Volume | 0-100 (50) | Sets initial volume | Optional |
Example
<wmvplayer>file=http://stream2.rvc.ac.uk/Anatomy/bovine/pot0175.wmv|width=300|height=300</wmvplayer>
Gives <wmvplayer>file=http://stream2.rvc.ac.uk/Anatomy/bovine/pot0175.wmv%7Cwidth=300%7Cheight=300</wmvplayer>