Skip to content

Commit bd29c56

Browse files
committed
1.9.1 - Hotfix
1 parent 54fce08 commit bd29c56

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

app/package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"main": "index.html",
3+
"name": "Youtube Player 1.9",
4+
"description": "Youtube Player based on Angular and Typescript",
5+
"version": "1.0",
6+
"keywords": [ "youtube app", "node-webkit" ],
7+
"window": {
8+
"height": 720,
9+
"width": 1270,
10+
"min_width": 1270,
11+
"min_height": 720,
12+
"frame": false,
13+
"icon": "favicon.ico",
14+
"toolbar": false
15+
},
16+
"webkit": {
17+
"plugin": true
18+
}
19+
}

dist/assets/css/main.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,13 +384,12 @@ a:active {
384384
visibility: hidden;
385385
transition: opacity 0.1s ease-out, visibility 0.1s ease-out, height 0.1s ease-out 0.1s;
386386
position: relative;
387-
height: 270px;
388387
width: 100%;
389388
}
390389

391390
#youtube-player .cover-controls,
392391
#youtube-player .cover-image {
393-
display: block;
392+
display: none;
394393
position: absolute;
395394
cursor: pointer;
396395
}
@@ -411,11 +410,17 @@ a:active {
411410
}
412411

413412
#youtube-player.active {
413+
height: 270px;
414414
opacity: 1;
415415
visibility: visible;
416416
transition: opacity 0.1s ease-out 0.3s, visibility 0.1s ease-out 0.1s, height 0.1s ease-out;
417417
}
418418

419+
#youtube-player.active .cover-controls,
420+
#youtube-player.active .cover-image {
421+
display: block;
422+
}
423+
419424
.notif {
420425
position: absolute;
421426
bottom: -41px;

dist/inline.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vendor.bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ var YoutubePlayerService = (function () {
6565
var /** @type {?} */ doc = YoutubePlayerService.win.document;
6666
var /** @type {?} */ playerApiScript = doc.createElement("script");
6767
playerApiScript.type = "text/javascript";
68-
playerApiScript.src = "https://www.youtube.com/iframe_api";
68+
playerApiScript.src = options.protocol + "://www.youtube.com/iframe_api";
6969
doc.body.appendChild(playerApiScript);
7070
};
7171
/**

0 commit comments

Comments
 (0)