Bug 20783: Add missing url filters
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 9f1000638f)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
e875d886a0
commit
6123aa2b1c
|
|
@ -822,7 +822,7 @@ Note that permanent location is a code, and location may be an authval.
|
|||
<p>
|
||||
[% IF HTML5MediaSet.is_youtube %]
|
||||
<iframe id="player" type="text/html" width="640" height="360"
|
||||
src="[% HTML5MediaSet.srcblock %]" frameborder="0"></iframe>
|
||||
src="[% HTML5MediaSet.srcblock | url %]" frameborder="0"></iframe>
|
||||
[% ELSE %]
|
||||
<[% HTML5MediaParent | html %] controls preload=none>
|
||||
<[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | url %]"[% HTML5MediaSet.typeblock | html %] />
|
||||
|
|
|
|||
|
|
@ -957,11 +957,11 @@
|
|||
<p>
|
||||
[% IF HTML5MediaSet.is_youtube %]
|
||||
<iframe id="player" type="text/html" width="640" height="360"
|
||||
src="[% HTML5MediaSet.srcblock %]" frameborder="0"></iframe>
|
||||
src="[% HTML5MediaSet.srcblock | url %]" frameborder="0"></iframe>
|
||||
[% ELSE %]
|
||||
[% SET ctrl_preload = ' controls preload=none' #translatability %]
|
||||
<[% HTML5MediaParent _ ctrl_preload | html %] >
|
||||
<[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] />
|
||||
<[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | url %]" [% HTML5MediaSet.typeblock | html %] />
|
||||
<span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span>
|
||||
</[% HTML5MediaParent | html %]>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue