Skip to content

Commit c2c59d5

Browse files
committed
2.0 - Fixes, package updates
1 parent 7921ef0 commit c2c59d5

23 files changed

+422
-145
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![GitHub forks](https://img.shields.io/github/forks/quead/angular2-yt-player.svg)](https://github.com/quead/angular2-yt-player/network)
1111
[![GitHub stars](https://img.shields.io/github/stars/quead/angular2-yt-player.svg)](https://github.com/quead/angular2-yt-player/stargazers)
1212

13-
This is a simple youtube web player and desktop player based on [angular-cli](https://github.com/angular/angular-cli "Angular Cli") 1.4, [NWjs 0.25.0](https://nwjs.io/ "NWJS Page"), [ng2-youtube-player](https://github.com/orizens/ng2-youtube-player "ng2 youtube player") 0.0.3 (used for youtube iFrame API), SCSS (CSS3), HTML5 and webkit functions.
13+
This is a simple youtube web player and desktop player based on [angular-cli](https://github.com/angular/angular-cli "Angular Cli") 1.4, [NWjs 0.25.0](https://nwjs.io/ "NWJS Page"), [ngx-youtube-player](https://github.com/orizens/ngx-youtube-player "ngx youtube player") 0.0.41 (used for youtube iFrame API), SCSS (CSS3), HTML5 and webkit functions.
1414

1515
This player is compatible only with Chrome/webkit browsers.
1616

@@ -48,8 +48,8 @@ This player is compatible only with Chrome/webkit browsers.
4848

4949
**For building app**
5050

51-
1. Add to body classes application app-win / app-mac / app-linux
52-
`<body class="application app-mac">`
51+
1. Add to body classes application app-win / app-linux
52+
`<body class="application app-win">`
5353
2. Build the src folder with
5454
`ng build` in root folder
5555
*You need to have angular-cli installed on global (check above)*
@@ -74,7 +74,7 @@ Just take files from ***dist*** folder
7474
## Changelog
7575
Angular2 YT Player v2.0
7676
- Global hotkeys for application in desktop (play/pause/next/prev, for keyboards with media buttons)
77-
- Adding support for NW.js to export the app for desktop compatible: Windows x64, macOS x64, Linux x64
77+
- Adding support for NW.js to export the app for desktop compatible: Windows x64, Linux x64
7878
- Auto updating the app (desktop version)
7979

8080
Angular2 YT Player v1.9.2
@@ -155,6 +155,7 @@ Angular2 YT Player v1.0.0
155155
#### Backlog
156156
- iOS 8+ / android 5+ app **(unversioned)**
157157
- Change and create theme **(unversioned)**
158+
- macOS app release **(unversioned)**
158159
- **Rooms**
159160
- *Room chat **(unversioned)***
160161

@@ -163,6 +164,8 @@ Angular2 YT Player v1.0.0
163164
- Categories with videos like (music, gaming, autos, films, sports, much more) **(in v2.1)**
164165
- Drag and drop videos to playlist **(in v2.2)**
165166
- Arrange playlist by drag and drop **(in v2.2)**
167+
- Integrating Google accounts **(in v2.4)**
168+
- Integrating firebase **(in v2.5)**
166169

167170
- **Rooms**
168171
- *Create room where you can watch videos with others in sync by sharing the room link **(in v3.0)***

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "yt-app",
44
"description": "YouTube Player",
55
"author": "Alex Olari <queadx@gmail.com>",
6-
"version": "1.9.0",
6+
"version": "2.0.0",
77
"keywords": [
88
"youtube app",
99
"node-webkit"

dist/assets/css/main.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,6 +1244,23 @@ input[type="radio"]:checked + label .round-check:after {
12441244
-webkit-user-drag: none;
12451245
}
12461246

1247+
.header-bar h1 {
1248+
display: flex;
1249+
align-items: center;
1250+
width: 130px;
1251+
margin: 0 auto;
1252+
}
1253+
1254+
.favicon-app {
1255+
display: inline-block;
1256+
width: 20px;
1257+
height: 15px;
1258+
background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 250 250' style='enable-background:new 0 0 250 250;' xml:space='preserve'%3E %3Cstyle type='text/css'%3E .st0%7Bfill:%23FF0000;%7D .st1%7Bfill:%23DF0000;%7D .st2%7Bfill:%23FFFFFF;%7D %3C/style%3E %3Cpolygon class='st0' points='122.2,25.4 122.2,25.4 122.2,25.4 29.1,58.6 43.3,181.7 122.2,225.4 122.2,225.4 122.2,225.4 201.1,181.7 215.3,58.6 '/%3E %3Cpolygon class='st1' points='122.2,25.4 122.2,47.6 122.2,47.5 122.2,148.8 122.2,148.8 122.2,225.4 122.2,225.4 201.1,181.7 215.3,58.6 '/%3E %3Cg%3E %3Cpath class='st2' d='M155.8,92.5c1.9,0.2,6,0.2,9.7,4.1c0,0,2.9,2.9,3.8,9.5c1,7.8,1,15.6,1,15.6v7.3c0,0,0.1,7.8-1,15.6 c-0.9,6.6-3.8,9.5-3.8,9.5c-3.6,3.8-7.8,3.8-9.7,4c0,0-13.4,1-33.6,1c-25-0.2-32.7-1-32.7-1c-2.1-0.4-7-0.3-10.6-4.1 c0,0-2.9-2.9-3.8-9.5c-1-7.8-1-15.6-1-15.6v-7.3c0,0-0.1-7.8,1-15.6c0.9-6.7,3.8-9.5,3.8-9.5c3.6-3.9,7.8-3.9,9.7-4.1 c0,0,13.4-1,33.6-1S155.8,92.5,155.8,92.5z M138.2,124.4l-26-13.6v27L138.2,124.4z'/%3E %3C/g%3E %3C/svg%3E");
1259+
background-size: 20px 15px;
1260+
background-repeat: no-repeat;
1261+
background-position: 50% 50%;
1262+
}
1263+
12471264
.logo-svg {
12481265
display: block;
12491266
width: 111px;

dist/favicon.ico

82.6 KB
Binary file not shown.

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<link rel="stylesheet" href="assets/css/main.css">
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
1111
</head>
12-
<body class="">
12+
<body class="application app-win">
1313
<div class="update-bar">
1414
<div id="output">Checking for updates...</div>
1515
<span class="update-loading">

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.

0 commit comments

Comments
 (0)