Skip to content

Commit a5252f4

Browse files
authored
2.0 - Updating to latest version
2 parents 7c1dc90 + f837c9e commit a5252f4

Some content is hidden

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

50 files changed

+1996
-1617
lines changed

README.md

Lines changed: 46 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
<p align="center">
2-
<a href="https://quead.github.io/demo/" title="YouTube Player Demo">View Demo</a>
3-
<img alt="Angular YouTube Player Logo" src="https://i.imgur.com/GmAP7ip.png" style="height: auto; max-width:100%;" />
2+
Check
3+
<a href="https://quead.github.io/demo/" title="YouTube Player Demo">View Demo</a>
4+
or
5+
<a href="https://youtu.be/KB803dWQM-o/" title="Video Presentation">Video Presentation</a>
6+
<img alt="Angular YouTube Player Logo" src="https://i.imgur.com/GyNXPTg.png" style="height: auto; max-width:100%;" />
47
</p>
58

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

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

13-
This is a simple youtube player based on [angular-cli](https://github.com/angular/angular-cli "Angular Cli") 1.4, [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.
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.
1418

15-
This player is compatible only with Chrome/webkit browsers because in future I want to implement [NW.js](https://nwjs.io/ 'NWjs website') for compiling the code in Windows/Mac OS X/Linux desktop app.
19+
This player is compatible only with Chrome/webkit browsers.
1620

17-
*The project status is alpha.*
21+
*The project status is beta.*
1822

1923
## Usage
2024

21-
**For angular2/typescript development**
25+
**For Angular and Typescript Development**
2226
1. Install [NodeJS 6.11.0+](https://nodejs.org/en/download/ "Node JS Download")
2327
2. Install [angular-cli 1.1.3+](https://github.com/angular/angular-cli "Angular Cli")
2428

@@ -32,7 +36,6 @@ This player is compatible only with Chrome/webkit browsers because in future I w
3236

3337
`npm start` in root folder
3438

35-
------
3639

3740
**For SASS development**
3841

@@ -41,17 +44,46 @@ This player is compatible only with Chrome/webkit browsers because in future I w
4144

4245
`npm install -g gulp`
4346

44-
4. Start compiling the SCSS files by
47+
3. Start compiling the SCSS files by
48+
49+
`gulp sw` in root folder
50+
51+
------
52+
53+
**For building app**
4554

46-
`gulp`
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
4771

4872
**For personal use**
4973

5074
Just take files from ***dist*** folder
5175

52-
<a href="https://quead.github.io/demo/" title="YouTube Player Demo">View Demo</a>
76+
Check
77+
<a href="https://quead.github.io/demo/" title="YouTube Player Demo">View Demo</a>
78+
or
79+
<a href="https://youtu.be/KB803dWQM-o/" title="Video Presentation">Video Presentation</a>
5380

5481
## Changelog
82+
Angular2 YT Player v2.0
83+
- Global hotkeys for application in desktop (play/pause/next/prev, for keyboards with media buttons)
84+
- Adding support for NW.js to export the app for desktop compatible: Windows x64, Linux x64
85+
- Auto updating the app (desktop version)
86+
5587
Angular2 YT Player v1.9.2
5688
- UX improvements and fixes
5789
- Preparing files for 2.0
@@ -130,19 +162,17 @@ Angular2 YT Player v1.0.0
130162
#### Backlog
131163
- iOS 8+ / android 5+ app **(unversioned)**
132164
- Change and create theme **(unversioned)**
165+
- macOS app release **(unversioned)**
133166
- **Rooms**
134167
- *Room chat **(unversioned)***
135168

136-
#### Roadmap to 2.0
137-
- Global hotkeys for application in desktop (play/pause/next/prev) **(in v2.0)**
138-
- Adding support for NW.js to export the app for desktop compatible: Windows/Mac OS X/Linux **(in v2.0)**
139-
- Auto updating the app (desktop version) **(in v2.0)**
140-
141169
#### Roadmap to 3.0
142170
- Import/Export playlist (probably json file and youtube playlist) **(in v2.1)**
143171
- Categories with videos like (music, gaming, autos, films, sports, much more) **(in v2.1)**
144172
- Drag and drop videos to playlist **(in v2.2)**
145173
- Arrange playlist by drag and drop **(in v2.2)**
174+
- Integrating Google accounts **(in v2.4)**
175+
- Integrating firebase **(in v2.5)**
146176

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

app/package.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
{
22
"main": "index.html",
3-
"name": "Youtube Player 2.0",
4-
"description": "Youtube Player based on Angular and Typescript",
3+
"name": "yt-app",
4+
"description": "YouTube Player",
55
"author": "Alex Olari <queadx@gmail.com>",
6-
"version": "1.0",
7-
"keywords": [ "youtube app", "node-webkit" ],
6+
"version": "2.0.0",
7+
"keywords": [
8+
"youtube app",
9+
"node-webkit"
10+
],
811
"license": "MIT",
9-
"manifestUrl": "https://quead.github.io/updates/package.json",
10-
"packages": {
11-
"win": {
12-
"url": "https://quead.github.io/updates/upwin.zip"
13-
}
14-
},
12+
"manifestUrl": "http://noxien.net/quead/package.json",
1513
"window": {
1614
"height": 720,
1715
"width": 1270,
@@ -24,11 +22,14 @@
2422
"webkit": {
2523
"plugin": true
2624
},
25+
"scripts": {
26+
"postversion": "npm run package",
27+
"package": "nwb nwbuild -v 0.25.2-sdk . -o ../release --output-format=ZIP --output-name={name}-v{version}-{target}"
28+
},
2729
"dependencies": {
28-
"ncp": "2.0.0",
29-
"request": "~2.64.0",
30-
"tar.gz": "^0.1.1",
31-
"del": "~0.1.2",
32-
"semver": "^5.0.3"
30+
"nw-autoupdater": "*"
31+
},
32+
"devDependencies": {
33+
"nwjs-builder": "^1.14.0"
3334
}
34-
}
35+
}

app/tools/unzip.exe

-164 KB
Binary file not shown.

0 commit comments

Comments
 (0)