1,546 bytes added ,  17:05, 13 October 2009
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...
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><wmvplayer> ... </wmvplayer></nowiki> tags. The following parameters are then declared between the tags by writing ''parameter''=''value''. Each parameter is seperated by a '|'.</p>
{|border="2" width="700px" align="left" cellspacing="0" cellpadding="4" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show"
!bgcolor="#A7C1F2" width="180px"|Parameter
!bgcolor="#A7C1F2"|Value ''(Default)''
!bgcolor="#A7C1F2"|Output
!bgcolor="#A7C1F2"|Required
|-
!align="left"|file
|URL of '.wmv' file
|Instructs player where to look for the video
|Essential
|-
!align="left" bgcolor="#F2F2F2"|height
|bgcolor="#F2F2F2"|In pixels
|bgcolor="#F2F2F2"|Defines the players height in pixels
|bgcolor="#F2F2F2"|Essential
|-
!align="left"|width
|In pixels
|Defines the players width in pixels
|Essential
|-
!align="left" bgcolor="#F2F2F2"|mute
|bgcolor="#F2F2F2"|True/False (''False'')
|bgcolor="#F2F2F2"|Determines whether player is initially muted
|bgcolor="#F2F2F2"|Optional
|-
!align="left"|Volume
|0-100 (''50'')
|Sets initial volume
|Optional
|}
<br>
<div style="clear:both;"></div>
==Example==
<nowiki><wmvplayer>file=http://stream2.rvc.ac.uk/Anatomy/bovine/pot0175.wmv|width=300|height=300</wmvplayer></nowiki>

'''Gives'''
<wmvplayer>file=http://stream2.rvc.ac.uk/Anatomy/bovine/pot0175.wmv|width=300|height=300</wmvplayer>