File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ Angular YouTube Player 2.3
57
57
- Improved speed performance and fixed major bugs
58
58
- Implemented login with google account
59
59
- New way to loading the app
60
- - * Keep your playlist and settings in cloud - WIP*
61
- - * Implemented session key to keep playlist in cloud (without account) - WIP*
62
60
63
61
Angular YouTube Player 2.2
64
62
- Sort playlist by drag and drop (used [ ng2-dragula] ( https://valor-software.com/ng2-dragula/ " NG2 Dragula ") )
@@ -138,7 +136,7 @@ Angular YouTube Player 1.1
138
136
- Adding mute/unmute functionality
139
137
- Improved user interface and user experience
140
138
- Adding settings functionality, the settings will get from *** assets/settings.json***
141
- - ** Settings**
139
+ ** Settings**
142
140
- * Show/hide debugging features*
143
141
- * Show/hide thumbnails in search*
144
142
@@ -160,7 +158,9 @@ Angular YouTube Player 1.0.0
160
158
- * Room chat ** (unversioned)***
161
159
162
160
#### Roadmap to 3.0
163
- - Integrating ngrx store ** (in v2.4)**
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
164
- Integrating YouTube subscriptions/playlist ** (in v2.9)**
165
165
166
166
** Rooms**
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ <h1><span class="favicon-app"></span>YouTube Player v2.0</h1>
12
12
< button id ="linux-maximize " (click) ="winClose(); "> </ button >
13
13
</ div >
14
14
</ div >
15
- < ng-container *ngIf ="!globals.isLogged ">
15
+ <!-- < ng-container *ngIf="!globals.isLogged">
16
16
<button type="button" (click)="loginGoogle()">Login</button>
17
17
</ng-container>
18
18
<ng-container *ngIf="globals.isLogged">
19
19
<button type="button" (click)="logout()">Logout</button>
20
20
</ng-container>
21
- < button type ="button " (click) ="refresh() "> Reinit</ button >
21
+ <button type="button" (click)="refresh()">Reinit</button> -->
22
22
< div class ="device-bar ">
23
23
< button type ="button " class ="trigger-nav " (click) ="openMobileMenu() "> < span class ="fa fa-navicon "> </ span > Menu</ button >
24
24
< div id ="logo ">
Original file line number Diff line number Diff line change @@ -86,11 +86,13 @@ export class SettingsComponent implements OnInit {
86
86
}
87
87
88
88
getDefaultSettings ( ) {
89
- this . globals . internal_settings = this . globals . settings . form_settings ;
90
- this . globals . external_settings = this . globals . settings . api_settings ;
91
- this . initExternalForm ( ) ;
92
- this . loading = true ;
93
- this . setForm ( ) ;
89
+ this . shared . getSettings ( ) . then ( ( ) => {
90
+ this . globals . internal_settings = this . globals . settings . form_settings ;
91
+ this . globals . external_settings = this . globals . settings . api_settings ;
92
+ this . initExternalForm ( ) ;
93
+ this . loading = true ;
94
+ this . setForm ( ) ;
95
+ } )
94
96
}
95
97
96
98
externalSave ( ) {
You can’t perform that action at this time.
0 commit comments