Bugzilla – Attachment 104800 Details for
Bug 20783
Cannot embed some YouTube videos due to 403 errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20783: Similar changes for OPAC
Bug-20783-Similar-changes-for-OPAC.patch (text/plain), 3.04 KB, created by
ByWater Sandboxes
on 2020-05-12 19:27:57 UTC
(
hide
)
Description:
Bug 20783: Similar changes for OPAC
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-05-12 19:27:57 UTC
Size:
3.04 KB
patch
obsolete
>From 65405913e0b4326d6dc8ac5925c19c39fe0af96f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 12 May 2020 15:13:44 +0200 >Subject: [PATCH] Bug 20783: Similar changes for OPAC > >Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com> > >Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com> > >Signed-off-by: Jessica Zairo <jzairo@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 17 +++++++++++------ > 1 file changed, 11 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index b6c926dbf1..b7bb3b0025 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -551,7 +551,7 @@ > <li id="tab_images"><a href="#images">Images</a></li> > [% END %] > >- [% IF ( HTML5MediaEnabled && HTML5MediaSets ) %] >+ [% IF HTML5MediaEnabled && HTML5MediaSets.size %] > [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li> > [% END %] > >@@ -955,11 +955,16 @@ > <div id="html5media"> > [% FOREACH HTML5MediaSet IN HTML5MediaSets %] > <p> >- [% SET ctrl_preload = ' controls preload=none' #translatability %] >- <[% HTML5MediaParent _ ctrl_preload | html %] > >- <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] /> >- <span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span> >- </[% HTML5MediaParent | html %]> >+ [% IF HTML5MediaSet.is_youtube %] >+ <iframe id="player" type="text/html" width="640" height="360" >+ src="[% HTML5MediaSet.srcblock %]" 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 %] /> >+ <span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span> >+ </[% HTML5MediaParent | html %]> >+ [% END %] > </p> > [% END %] > </div> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20783
:
75441
|
75442
|
75443
|
79829
|
79833
|
104747
|
104748
|
104771
|
104774
|
104779
|
104780
|
104781
|
104799
|
104800
|
105198
|
105210
|
105211
|
105212
|
105213
|
111177
|
111178
|
111179