Skip to content
Snippets Groups Projects
Commit 309e1bc7 authored by David Breitling's avatar David Breitling
Browse files

[TASK] Release version 4.5.0

- rewrote sgYoutubeLightbox as ES6 class
- updated UPGRADE.md for future v5 release
parent 1b4cf8a1
No related branches found
No related tags found
No related merge requests found
......@@ -2,17 +2,13 @@
import LightboxManager from 'lightboxManager';
/** @deprecated */
module.exports = function() {
'use strict';
export default class SgYoutubeLightbox {
/**
* Initialize the whole Popup setup
* Initializes the LightboxManager with the necessary parameters.
*/
function init() {
constructor() {
LightboxManager.init({type: 'video', glightbox: {selector: '.sg-youtube-item'}});
}
init();
};
}
## Version 5
- `youtubeLightbox.js` (deprecated since 4.4.0) using magnific-popup and jQuery removed in favor of `sgYoutubeLightbox.js` (vanilla JS).
- Extension `project_theme_lightbox` required starting with version 5.0.0.
## Version 4.4 ```project_theme_lightbox``` integration
- The magnific popup integration is deprecated and will be removed in later versions.
- Implement JavaScript according to the readme after integrating ```project_theme_lightbox```
......
......@@ -4,7 +4,7 @@
"description": "Embed YouTube Videos of a Playlist or Channel",
"homepage": "https://www.sgalinski.de",
"license": "GPL-2.0-or-later",
"version": "4.4.1",
"version": "4.5.0",
"require": {
"typo3/cms-core": "^9.5.4 || ^10.4.0",
"sgalinski/project-theme-lightbox": "^1.0.0"
......
......@@ -36,7 +36,7 @@ $EM_CONF['sg_youtube'] = [
'uploadfolder' => '0',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '4.4.1',
'version' => '4.5.0',
'constraints' => [
'depends' => [
'typo3' => '9.5.0-10.4.99',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment