Skip to content

Commit

Permalink
Version 5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HitkoDev committed Aug 31, 2016
1 parent 9d5709e commit 0d27278
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 5.1.1 pl - *31. August 2016*
* fix tempfiles location
* set pop-up parent (root) element

### 5.1.0 pl - *15. August 2016*
* improved Videobox library
* updated to latest dependencies
Expand Down
2 changes: 1 addition & 1 deletion _build/build.transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/* define package names */
define('PKG_NAME','Videobox');
define('PKG_NAME_LOWER','videobox');
define('PKG_VERSION','5.1.0');
define('PKG_VERSION','5.1.1');
define('PKG_RELEASE','pl');

/* define build paths */
Expand Down
21 changes: 11 additions & 10 deletions assets/components/videobox/video-js/video.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
$vbOptions = array('width' => (float)$scriptProperties['pWidth'], 'height' => (float)$scriptProperties['pHeight']);
if(isset($scriptProperties['style'])) $vbOptions['style'] = $scriptProperties['style'];
if(isset($scriptProperties['class'])) $vbOptions['class'] = $scriptProperties['class'];
if(isset($scriptProperties['root'])) $vbOptions['root'] = $scriptProperties['root'];

if(count($videos) > 1){
$tpl = $scriptProperties['display'] == 'links' ? $scriptProperties['linkTpl'] : $scriptProperties['thumbTpl'];
Expand Down
2 changes: 1 addition & 1 deletion core/components/videobox/model/videobox/videobox.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function videoThumbnail($video, $no_border = false, $n = 0) {
return $ret;
}

$tmpn = tempnam($this->config['assets_url'] . 'cache/', 'vb_');
$tmpn = tempnam($this->config['assets_path'] . 'cache/', 'vb_');
copy($img[0], $tmpn);

if(!extension_loaded('imagick')){
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"license": "GPL-3.0",
"readme": "README.md",
"version": "5.1.0",
"version": "5.1.1",
"name": "Videobox-MODX",
"copyright": "Hitko",
"homepage": "https://hitko.eu/videobox/",
Expand Down

0 comments on commit 0d27278

Please sign in to comment.