Template:SwitchPlay
From Broadcast for Schools.co.uk.co.uk
#switch function to set a number representing the type of video/audio available. Summary pages can select the highest number to show an icon representing the best type available. Numbers stored in Property:Play type.
Call as {{SwitchPlay|type|clip|restricted}}
- {{SwitchPlay|video}} = 37
- {{SwitchPlay|video|clip}} = 35
- {{SwitchPlay|audio||yes}} = 23
| number | media type |
|---|---|
| 0 | not playable |
| 11 | music clip, restricted access |
| 13 | music infull, restricted access |
| 15 | music clip |
| 17 | music in full |
| 21 | audio clip, restricted access |
| 23 | audio full programme, restricted access |
| 25 | audio clip |
| 27 | audio full programme |
| 31 | video clip, restricted access |
| 33 | video full programme, restricted access |
| 35 | video clip |
| 37 | video full programme |