Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
v1.8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekVolsk committed Dec 27, 2022
1 parent 6e42da3 commit 33ec4a6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# YtVideo

![Version](https://img.shields.io/badge/VERSION-1.8.8-0366d6.svg?style=for-the-badge)
![Version](https://img.shields.io/badge/VERSION-1.8.9-0366d6.svg?style=for-the-badge)
![Joomla!](https://img.shields.io/badge/Joomla!-3.7+-1A3867.svg?style=for-the-badge)
![Php](https://img.shields.io/badge/php-5.6+-8892BF.svg?style=for-the-badge)

IMPORTANT! Release 1.8.9 is final, further support of this extension is not planned.

_description in Russian [here](README.ru.md)_

Content plugin for Joomla! 3 or 4 for video output from YouTube.
Expand Down
4 changes: 3 additions & 1 deletion README.ru.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# YtVideo

![Version](https://img.shields.io/badge/VERSION-1.8.8-0366d6.svg?style=for-the-badge)
![Version](https://img.shields.io/badge/VERSION-1.8.9-0366d6.svg?style=for-the-badge)
![Joomla!](https://img.shields.io/badge/Joomla!-3.7+-1A3867.svg?style=for-the-badge)
![Php](https://img.shields.io/badge/php-5.6+-8892BF.svg?style=for-the-badge)

ВАЖНО! Релиз 1.8.9 является финальным, дальнейшее сопровождение данного расширения не планируется.

Контентный плагин для Joomla! 3 и 4 для вывода видео с YouTube.

Это решение выгодно отличается от других тем, что загружает видео с YouTube не при загрузке страницы, а только после начала воспроизведения, что не создает задержек при загрузке страницы.
Expand Down
2 changes: 1 addition & 1 deletion pkg_ytvideo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<creationDate>December 2022</creationDate>
<packager>Aleksey A. Morozov</packager>
<packagerurl>https://alekvolsk.pw</packagerurl>
<version>1.8.8</version>
<version>1.8.9</version>
<description>PKG_YTVIDEO_DESC</description>
<php_minimum>5.6</php_minimum>
<scriptfile>pkg_script.php</scriptfile>
Expand Down
1 change: 1 addition & 0 deletions plg_content_ytvideo/ytvideo.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public function onContentPrepare($context, &$article, &$params, $page = 0)
}

$cachFolder = Path::clean(Factory::getConfig()->get('cache_path', JPATH_CACHE));
$cachFolder = str_replace('administrator' . DIRECTORY_SEPARATOR, '', $cachFolder);
$cachFolder = $cachFolder . DIRECTORY_SEPARATOR . 'plg_content_ytvideo' . DIRECTORY_SEPARATOR;
if ($cachFolder && !is_dir($cachFolder)) {
Folder::create($cachFolder, 0755);
Expand Down
2 changes: 1 addition & 1 deletion plg_content_ytvideo/ytvideo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<copyright>(C) Aleksey A. Morozov. All right reserved.</copyright>
<license>GNU General Public License version 3 or later; see http://www.gnu.org/licenses/gpl-3.0.txt</license>
<creationDate>December 2022</creationDate>
<version>1.8.8</version>
<version>1.8.9</version>
<description>PLG_YTVIDEO_DESC</description>
<scriptfile>script.php</scriptfile>
<files>
Expand Down

0 comments on commit 33ec4a6

Please sign in to comment.