Skip to content

Commit aa81bc3

Browse files
authored
2.3 - Updating to latest version
2 parents 90d6262 + a4f00eb commit aa81bc3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1004
-1434
lines changed

README.md

Lines changed: 30 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
</p>
88

99
# About Player
10-
[![Version](https://img.shields.io/badge/Current%20version-v2.2-brightgreen.svg?style=flat)](https://github.com/quead/angular2-yt-player)
10+
[![Version](https://img.shields.io/badge/Current%20version-v2.3-brightgreen.svg?style=flat)](https://github.com/quead/angular2-yt-player)
1111
[![Build Status](https://semaphoreci.com/api/v1/quead/angular2-yt-player/branches/master/badge.svg)](https://semaphoreci.com/quead/angular2-yt-player)
1212

1313
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/quead/angular2-yt-player/master/LICENSE)
1414
[![GitHub forks](https://img.shields.io/github/forks/quead/angular2-yt-player.svg)](https://github.com/quead/angular2-yt-player/network)
1515
[![GitHub stars](https://img.shields.io/github/stars/quead/angular2-yt-player.svg)](https://github.com/quead/angular2-yt-player/stargazers)
1616

17-
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/ng2-youtube-player "ngx youtube player") 0.0.41 (used for youtube iFrame API), SCSS (CSS3), HTML5 and webkit functions.
17+
This is a simple youtube web player and desktop player based on [angular-cli](https://github.com/angular/angular-cli "Angular Cli") 1.7.3, [ngx-youtube-player](https://github.com/orizens/ng2-youtube-player "ngx youtube player") 6.0.0 (used for youtube iFrame API), SCSS (CSS3), HTML5.
1818

1919
This player is compatible only with Chrome/webkit browsers.
2020

@@ -23,8 +23,8 @@ This player is compatible only with Chrome/webkit browsers.
2323
## Usage
2424

2525
**For Angular and Typescript Development**
26-
1. Install [NodeJS 6.11.0+](https://nodejs.org/en/download/ "Node JS Download")
27-
2. Install [angular-cli 1.1.3+](https://github.com/angular/angular-cli "Angular Cli")
26+
1. Install [NodeJS 8.11.3+](https://nodejs.org/en/download/ "Node JS Download")
27+
2. Install [angular-cli 1.7.3+](https://github.com/angular/angular-cli "Angular Cli")
2828

2929
`npm install -g @angular/cli`
3030

@@ -36,49 +36,28 @@ This player is compatible only with Chrome/webkit browsers.
3636

3737
`npm start` in root folder
3838

39-
5. Add your youtube api key
39+
5. Add your youtube api key in settings.json or in the app
4040

4141
**For SASS development**
4242

4343
1. Install [Sass](http://sass-lang.com/install "Sass website")
4444

45-
2. Start project by
45+
2. Do steps from above
4646

47-
`npm start`
48-
49-
3. Edit files from src/assets/scss
50-
51-
------
52-
53-
**For building app**
54-
55-
1. Add to body classes application app-win / app-linux
56-
`<body class="application app-win">`
57-
2. Build the src folder with
58-
`ng build` in root folder
59-
*You need to have angular-cli installed on global (check above)*
60-
*This is compiling typescript into Javascript*
61-
62-
3. Copy package.json from **/app** folder and paste it to **dist** folder
63-
4. Download [NWjs v0.25.0 +](https://nwjs.io/ "NWJS Download")
64-
5. Path your system enviroment to folder where you unarchived
65-
6. Run
66-
67-
`gulp build` in root folder
68-
*This is compiling javascript into desktop app*
69-
70-
7. In release folder (root) you have the compiled apps
47+
3. Start project by
7148

72-
**For personal use**
73-
74-
Just take files from ***dist*** folder
49+
`npm start`
7550

76-
Check
77-
<a href="https://quead.github.io/demo/" title="YouTube Player Demo">Demo</a>
78-
or
79-
<a href="https://youtu.be/KB803dWQM-o/" title="Video Presentation">Video Presentation</a>
51+
4. Edit files from src/assets/scss
8052

8153
## Changelog
54+
Angular YouTube Player 2.3
55+
- Updating to LTS angular
56+
- Refactoring entire app services and components
57+
- Improved speed performance and fixed major bugs
58+
- Implemented login with google account
59+
- New way to loading the app
60+
8261
Angular YouTube Player 2.2
8362
- Sort playlist by drag and drop (used [ng2-dragula](https://valor-software.com/ng2-dragula/ "NG2 Dragula"))
8463

@@ -157,7 +136,7 @@ Angular YouTube Player 1.1
157136
- Adding mute/unmute functionality
158137
- Improved user interface and user experience
159138
- Adding settings functionality, the settings will get from ***assets/settings.json***
160-
- **Settings**
139+
**Settings**
161140
- *Show/hide debugging features*
162141
- *Show/hide thumbnails in search*
163142

@@ -175,19 +154,27 @@ Angular YouTube Player 1.0.0
175154
#### Backlog
176155
- iOS 8+ / android 5+ app **(unversioned)**
177156
- Change and create theme **(unversioned)**
178-
- macOS app release **(unversioned)**
179-
- **Rooms**
157+
**Rooms**
180158
- *Room chat **(unversioned)***
181159

182160
#### Roadmap to 3.0
183-
- Integrating Google accounts **(in v2.4)**
184-
- Integrating firebase **(in v2.5)**
161+
- Keep your playlist and settings in cloud **(in v2.4)**
162+
- Implemented session key to keep playlist in cloud (without account) **(in v2.4)**
163+
- Integrating ngrx store **(in v2.5)**
164+
- Integrating YouTube subscriptions/playlist **(in v2.9)**
185165

186-
- **Rooms**
166+
**Rooms**
187167
- *Create room where you can watch videos with others in sync by sharing the room link **(in v2.7)***
188168
- *Set private/public room **(in v2.7)***
189169
- *List of public rooms **(in v2.8)***
190170
- *Room moderators which can add videos, kick roommates, mute roommates, rename room title and description **(in v2.9)***
191171

172+
173+
#### Removed features
174+
- Global hotkeys for application in desktop (play/pause/next/prev, for keyboards with media buttons)
175+
- Adding support for NW.js to export the app for desktop compatible: Windows x64, Linux x64
176+
- Auto updating the app (desktop version)
177+
- Temporary removed theme function
178+
192179
## Copyright and License
193180
Copyright [quead](https://github.com/quead) under the [MIT license](LICENSE).

app/package.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

e2e/app.e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { AppPage } from './app.po';
22

3-
describe('masterclean App', () => {
3+
describe('angular-youtube-player App', () => {
44
let page: AppPage;
55

66
beforeEach(() => {

gulpfile.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

package.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "angular2-youtube-player",
3-
"version": "1.0.0",
3+
"version": "2.3.0",
44
"license": "MIT",
55
"scripts": {
66
"ng": "ng",
77
"start": "ng serve",
8-
"build": "gulp build",
8+
"build": "ng build --prod",
99
"test": "ng test",
1010
"lint": "ng lint",
1111
"e2e": "ng e2e"
@@ -21,34 +21,30 @@
2121
"@angular/platform-browser": "^5.2.0",
2222
"@angular/platform-browser-dynamic": "^5.2.0",
2323
"@angular/router": "^5.2.0",
24-
"@types/youtube": "0.0.31",
25-
"child_process": "^1.0.2",
24+
"angularfire2": "^5.0.0-rc.9",
2625
"core-js": "^2.4.1",
26+
"firebase": "^5.0.4",
2727
"ng2-dragula": "^1.5.0",
28-
"ngx-youtube-player": "0.0.41",
29-
"rxjs": "^5.5.6",
28+
"ngx-youtube-player": "^6.0.0",
29+
"rxjs": "^6.2.1",
30+
"rxjs-compat": "^6.2.1",
3031
"zone.js": "^0.8.19"
3132
},
3233
"devDependencies": {
33-
"@angular/cli": "1.6.6",
34+
"@angular/cli": "~1.7.3",
3435
"@angular/compiler-cli": "^5.2.0",
3536
"@angular/language-service": "^5.2.0",
3637
"@types/jasmine": "~2.8.3",
3738
"@types/jasminewd2": "~2.0.2",
3839
"@types/node": "~6.0.60",
3940
"codelyzer": "^4.0.1",
40-
"gulp": "latest",
41-
"gulp-sass": "latest",
42-
"gulp-watch": "latest",
4341
"jasmine-core": "~2.8.0",
4442
"jasmine-spec-reporter": "~4.2.1",
4543
"karma": "~2.0.0",
4644
"karma-chrome-launcher": "~2.2.0",
47-
"karma-cli": "~1.0.1",
4845
"karma-coverage-istanbul-reporter": "^1.2.1",
4946
"karma-jasmine": "~1.1.0",
5047
"karma-jasmine-html-reporter": "^0.2.2",
51-
"nw-builder": "^3.4.1",
5248
"protractor": "~5.1.2",
5349
"ts-node": "~4.1.0",
5450
"tslint": "~5.9.1",

0 commit comments

Comments
 (0)