Skip to content

Commit

Permalink
v7.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinDawson committed Mar 13, 2018
1 parent 27eccff commit e5c4afc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions dist/js/react-jPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3913,7 +3913,7 @@ var handlers = {
movePlayHead: function movePlayHead(props) {
return function (bar, e) {
var offset = (0, _reactJplayerUtils.getElementOffset)(bar);
var x = e.pageX - offset.left;
var x = e.clientX - offset.left;
var w = bar.getBoundingClientRect().width;
var percentage = 100 * (x / w);

Expand Down Expand Up @@ -4021,8 +4021,8 @@ var handlers = {
var offset = (0, _reactJplayerUtils.getElementOffset)(bar);
var w = bar.getBoundingClientRect().width;
var h = bar.getBoundingClientRect().height;
var x = e.pageX - offset.left;
var y = h - e.pageY + offset.top;
var x = e.clientX - offset.left;
var y = h - e.clientY + offset.top;
var ratio = void 0;

if (props.verticalPlaybackRate) {
Expand Down Expand Up @@ -4095,8 +4095,8 @@ var handlers = {
var offset = (0, _reactJplayerUtils.getElementOffset)(bar);
var w = bar.getBoundingClientRect().width;
var h = bar.getBoundingClientRect().height;
var y = h - e.pageY + offset.top;
var x = e.pageX - offset.left;
var y = h - e.clientY + offset.top;
var x = e.clientX - offset.left;

if (props.verticalVolume) {
props.setVolume(props.id, y / h);
Expand Down
2 changes: 1 addition & 1 deletion dist/js/react-jPlayer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-jplayer",
"version": "7.1.2",
"version": "7.1.3",
"description": "Html5 audio and video player library for React",
"author": "Martin Dawson <[email protected]>",
"repository": {
Expand Down

0 comments on commit e5c4afc

Please sign in to comment.