Bugzilla – Attachment 111179 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]
[19.11.x] Bug 20783: Add missing url filters
1911x-Bug-20783-Add-missing-url-filters.patch (text/plain), 2.92 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-10-02 19:48:18 UTC
(
hide
)
Description:
[19.11.x] Bug 20783: Add missing url filters
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-10-02 19:48:18 UTC
Size:
2.92 KB
patch
obsolete
>From 76aec9217309e21bad9d1f5917f665d9c59fa28e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 21 May 2020 15:46:53 +0200 >Subject: [PATCH] [19.11.x] Bug 20783: Add missing url filters > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index a81c7fd0a5..cb9a2807d6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -726,7 +726,7 @@ > <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 %] /> >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 3468e6beb2..23331cdb20 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1036,11 +1036,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 %] >-- >2.28.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