Difference between revisions of "Extension:Wmvplayer"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | This extension allows .wmv files to be streamed from external sites/servers on WikiVet via an embedded Windows Media Player. | + | <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> |
Revision as of 21:02, 24 February 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>