Skip to content

Commit

Permalink
Merge branch 'hotfix/5.2.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
ferserc1 committed Aug 4, 2017
2 parents d85ae8c + d61f1da commit e7c9abc
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
=========

* Paella 5.2.3

* Now the video zoom button in toolbar shows the current zoom level.

* Paella 5.2.2

* Bug fixed in breaks plugin.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paellaplayer",
"version": "5.2.2",
"version": "5.2.3",
"description": "Paella Player",
"license": "GPL-3.0",
"repository": {
Expand Down
6 changes: 6 additions & 0 deletions plugins/es.upv.paella.videoZoom/video_zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@
}

buildContent(domElement) {
paella.events.bind(paella.events.videoZoomChanged, (evt,target) => {
this.setText(target.video.zoom + "%");
});

this.setText("100%");

function getZoomButton(className,onClick) {
let btn = document.createElement('div');
btn.className = `videoZoomToolbarItem ${ className }`;
Expand Down
5 changes: 4 additions & 1 deletion plugins/es.upv.paella.videoZoom/video_zoom.less
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@
}

.buttonPlugin.videoZoomToolbar {
background-position: -700% -100%;
background-position: -600% -100%;
font-size: 0.8em;
padding-top: 9px;
text-align: center;
}

.videoZoomToolbarItem {
Expand Down

0 comments on commit e7c9abc

Please sign in to comment.