Skip to content

Commit e2fb508

Browse files
committed
[MAINTENANCE] remove jPlayer and dlf_audioplayer Plugin
- This is a breaking change for existing tx-dlf-audioplayer use - Completly removing the tx-dlf-audioplayer plugin and the deprecated jPlayer lib - Changes may need to be applied for thirdparty extensions depending on kitodo.presentation (eg. dfg-viewer)
1 parent 4c45868 commit e2fb508

File tree

23 files changed

+0
-4567
lines changed

23 files changed

+0
-4567
lines changed

.github/codeql.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ query-filters:
1111
paths-ignore:
1212
- Resources/Public/JavaScript/DlfMediaPlayer
1313
- Resources/Public/JavaScript/Gridstack
14-
- Resources/Public/JavaScript/jPlayer
1514
- Resources/Public/JavaScript/jQuery
1615
- Resources/Public/JavaScript/jQueryUI
1716
- Resources/Public/JavaScript/OpenLayers

Classes/Controller/AudioPlayerController.php

Lines changed: 0 additions & 112 deletions
This file was deleted.

Configuration/FlexForms/AudioPlayer.xml

Lines changed: 0 additions & 42 deletions
This file was deleted.

Configuration/TCA/Overrides/tt_content.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,6 @@
2828
$pluginsLabel . 'annotation.title',
2929
);
3030

31-
// Plugin "audioplayer".
32-
$plugin = 'dlf_audioplayer';
33-
34-
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$plugin] = $excludeList;
35-
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$plugin] = $addList;
36-
37-
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
38-
$plugin,
39-
$flexFormsPathPrefix . 'AudioPlayer.xml'
40-
);
41-
42-
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
43-
'Dlf',
44-
'AudioPlayer',
45-
$pluginsLabel . 'audioplayer.title',
46-
$iconsDirectory . 'tx-dlf-audioplayer.svg'
47-
);
48-
4931
// Plugin "basket".
5032
$plugin = 'dlf_basket';
5133

Configuration/TsConfig/ContentElements.tsconfig

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ mod.wizards.newContentElement.wizardItems {
22
kitodo {
33
header = Kitodo Plugins
44
elements {
5-
tx_dlf_audioplayer {
6-
iconIdentifier = tx-dlf-audioplayer
7-
title = LLL:EXT:dlf/Resources/Private/Language/locallang_be.xlf:plugins.audioplayer.title
8-
description = LLL:EXT:dlf/Resources/Private/Language/locallang_be.xlf:plugins.audioplayer.description
9-
tt_content_defValues {
10-
CType = list
11-
list_type = dlf_audioplayer
12-
}
13-
}
145
tx_dlf_basket {
156
iconIdentifier = tx-dlf-basket
167
title = LLL:EXT:dlf/Resources/Private/Language/locallang_be.xlf:plugins.basket.title

Configuration/TypoScript/setup.typoscript

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,17 @@ config {
2020
page {
2121
includeCSS {
2222
embedded3dviewer = EXT:dlf/Resources/Public/Stylesheets/embedded-3d-viewer.css
23-
jPlayer = EXT:dlf/Resources/Public/JavaScript/jPlayer/blue.monday/css/jplayer.blue.monday.min.css
2423
openLayers = EXT:dlf/Resources/Public/JavaScript/OpenLayers/openlayers.css
2524
gridstack = EXT:dlf/Resources/Public/JavaScript/Gridstack/gridstack.min.css
2625
}
2726

2827
includeJSFooterlibs {
2928
jQuery = EXT:dlf/Resources/Public/JavaScript/jQuery/jquery-3.6.0.min.js
3029
jQuery.forceOnTop = 1
31-
jQueryJPlayer = EXT:dlf/Resources/Public/JavaScript/jPlayer/jquery.jplayer.min.js
3230
jQueryUiMouseSlider = EXT:dlf/Resources/Public/JavaScript/jQueryUI/jquery-ui-mouse-slider-resizable-autocomplete.js
3331
}
3432

3533
includeJSFooter {
36-
# AudioPlayer plugin
37-
kitodo-audioPlayer = EXT:dlf/Resources/Public/JavaScript/AudioPlayer/AudioPlayer.js
38-
3934
# ValidationForm plugin
4035
kitodo-validationForm = EXT:dlf/Resources/Public/JavaScript/ValidationForm/ValidationForm.js
4136

Documentation/Plugins/Index.rst

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -51,46 +51,6 @@ In this example, you place the customized fluid template into this file::
5151
EXT:example/Resources/Private/Plugins/Kitodo/Partials/Navigation/Main.html
5252

5353

54-
Audio Player
55-
------------
56-
57-
The audioplayer plugin is only active if the selected document has valid audio file use groups (useGroupsAudio).
58-
59-
TypoScript Configuration
60-
^^^^^^^^^^^^^^^^^^^^^^^^
61-
62-
:typoscript:`plugin.tx_dlf_audioplayer.`
63-
64-
.. t3-field-list-table::
65-
:header-rows: 1
66-
67-
- :Property:
68-
Property
69-
:Data Type:
70-
Data type
71-
:Default:
72-
Default
73-
:Description:
74-
Description
75-
76-
- :Property:
77-
excludeOther
78-
:Data Type:
79-
:ref:`t3tsref:data-type-boolean`
80-
:Default:
81-
1
82-
:Description:
83-
Show only documents from the selected page.
84-
85-
- :Property:
86-
elementId
87-
:Data Type:
88-
:ref:`t3tsref:data-type-string`
89-
:Default:
90-
tx-dlf-audio
91-
:Description:
92-
ID value of the HTML element for the audio player.
93-
9454
Basket
9555
------
9656

Resources/Private/Language/de.locallang_be.xlf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,6 @@
6969
<source><![CDATA[Template file]]></source>
7070
<target><![CDATA[HTML-Template]]></target>
7171
</trans-unit>
72-
<trans-unit id="plugins.audioplayer.description" approved="yes">
73-
<source><![CDATA[Audio Player Plugin for Kitodo.Presentation]]></source>
74-
<target><![CDATA[Audio Player Plugin für Kitodo.Presentation]]></target>
75-
</trans-unit>
76-
<trans-unit id="plugins.audioplayer.flexform.elementId" approved="yes">
77-
<source><![CDATA[@ID value of the HTML element for the audio player]]></source>
78-
<target><![CDATA[@ID-Wert des HTML-Elements für den Audioplayer]]></target>
79-
</trans-unit>
80-
<trans-unit id="plugins.audioplayer.title" approved="yes">
81-
<source><![CDATA[Kitodo: Audio Player]]></source>
82-
<target><![CDATA[Kitodo: Audio Player]]></target>
83-
</trans-unit>
8472
<trans-unit id="plugins.basket.description" approved="yes">
8573
<source><![CDATA[Basket Plugin for Kitodo.Presentation]]></source>
8674
<target><![CDATA[Warenkorb Plugin für Kitodo.Presentation]]></target>

Resources/Private/Language/de.locallang_labels.xlf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -601,10 +601,6 @@
601601
<target>Notentext</target>
602602
<source>Score</source>
603603
</trans-unit>
604-
<trans-unit id="tt_content.dlf_audioplayer">
605-
<source>DLF: Audio Player</source>
606-
<target>DLF: Audioplayer</target>
607-
</trans-unit>
608604
<trans-unit id="tt_content.dlf_basket">
609605
<source>DLF: Basket</source>
610606
<target>DLF: Warenkorb</target>

Resources/Private/Language/locallang_be.xlf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@
4747
<trans-unit id="flexform.templateFile">
4848
<source><![CDATA[Template file]]></source>
4949
</trans-unit>
50-
<trans-unit id="plugins.audioplayer.description">
51-
<source><![CDATA[Audio Player Plugin for Kitodo.Presentation]]></source>
52-
</trans-unit>
53-
<trans-unit id="plugins.audioplayer.flexform.elementId">
54-
<source><![CDATA[@ID value of the HTML element for the audio player]]></source>
55-
</trans-unit>
56-
<trans-unit id="plugins.audioplayer.title">
57-
<source><![CDATA[Kitodo: Audio Player]]></source>
58-
</trans-unit>
5950
<trans-unit id="plugins.calendar.description">
6051
<source><![CDATA[Calendar Plugin for Kitodo.Presentation]]></source>
6152
</trans-unit>

0 commit comments

Comments
 (0)