Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guancio committed Oct 6, 2013
1 parent eac9c85 commit 6ccd846
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Change log:
- Version 1.3.0
- Restyle of the subtitle interface
- Allows to select the subtitle from a zip file containing several entries
- Implemented the info window to credit the other projects
- Version 1.2.0
- Drag and Drop:
- drop a video file to the player to open it
Expand Down
12 changes: 8 additions & 4 deletions src/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,17 +189,21 @@ MediaElementPlayer.prototype.buildsubdelay = function(player, controls, layers,
return false;
});

info.click(function(e) {
// e.preventDefault();
function hideInfo(e) {
info.css('visibility','hidden');
if (player.media.paused)
$(".mejs-overlay-play").show();
// return false;
});

e.preventDefault();
e.stopPropagation();
player.container.off("click", hideInfo);
return false;
}

t.openInfoWindow = function() {
info.css('visibility','visible');
$(".mejs-overlay-play").hide();
player.container.click(hideInfo);
};

var open =
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Subtitle Videoplayer",
"version": "1.2.0",
"version": "1.3.0",
"manifest_version": 2,
"minimum_chrome_version": "28",
"icons": {
Expand Down

0 comments on commit 6ccd846

Please sign in to comment.