This tag returns the value of $_ctx→file_url
. When
defining this value while loading the template file, we can then include a multimedia player, inside the generated template file, that will read the URL
{{tpl:MediaURL}}
Example with an MP3 file:
{{tpl:include src="_mp3_player.html"}}
The _mp3_player.html
file will use the
{{tpl:MediaURL}}
tag and will read the MP3 file for which the URL is defined with the value of $_ctx→file_url
.
Wiki powered by Dokuwiki.