Bug 19913: Fix embedded HTML5 videos at the OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Jan 2018 21:12:33 +0000 (18:12 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 9 Jan 2018 12:52:42 +0000 (09:52 -0300)
Caused by
commit 752aef4593f1aa2d64700bf9738e7e03907eb1cd
Bug 18754: Translatability: Get rid of exposed tt directives in opac-detail.tt

A space is missing between 'source' and 'src'

Test plan:
Set  HTML5MediaEnabled  to OPAC
Put a video link to 856$u
See the OPAC detail page, tab video, click the video
=> Should play with this patch applied

Note that this does not affect intranet

Signed-off-by: George Williams <george@nekls.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt

index 664cab7..14bc426 100644 (file)
                                 <p>
                                   [% SET ctrl_preload = ' controls preload=none' #translatability %]
                                   <[% HTML5MediaParent _ ctrl_preload %] >
-                                    <[% HTML5MediaSet.child _ 'src="' _  HTML5MediaSet.srcblock _'"' _ HTML5MediaSet.typeblock %] />
+                                    <[% HTML5MediaSet.child _ ' src="' _  HTML5MediaSet.srcblock _'"' _ HTML5MediaSet.typeblock %] />
                                     <span>[[% HTML5MediaParent %] tag not supported by your browser.]</span>
                                   </[% HTML5MediaParent %]>
                                 </p>