Skip to content

Commit 3607474

Browse files
committed
2.0 - small fixes
1 parent f3b9ee7 commit 3607474

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

dist/assets/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ iframe {
15271527
z-index: 10;
15281528
max-height: 430px;
15291529
background-color: rgba(0, 0, 0, 0.9);
1530-
box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.5);
1530+
box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
15311531
}
15321532

15331533
#search-video-list .video-item-settings {

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/main.bundle.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.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.

scss/_videos.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ iframe {
4242
z-index: 10;
4343
max-height: 430px;
4444
background-color: rgba(0, 0, 0, 0.9);
45-
box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.5);
45+
box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
4646
.video-item {
4747
&-settings {
4848
background-color: rgba(41, 41, 53, 0.6);

src/app/app.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,10 @@ export class AppComponent implements OnInit {
363363

364364
playVideo(data: any) {
365365
if (data.id !== this.currentVideo.id || this.currentState === -1) {
366-
if (data.id.videoId !== 'undefined') {
367-
this.currentVideo.id = data.id;
368-
} else {
366+
if (typeof data.id.videoId !== 'undefined') {
369367
this.currentVideo.id = data.id.videoId;
368+
} else {
369+
this.currentVideo.id = data.id;
370370
}
371371
this.currentVideo.title = data.snippet.title;
372372
this._shared.addHistoryVideo(data);

src/assets/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ iframe {
15271527
z-index: 10;
15281528
max-height: 430px;
15291529
background-color: rgba(0, 0, 0, 0.9);
1530-
box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.5);
1530+
box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
15311531
}
15321532

15331533
#search-video-list .video-item-settings {

0 commit comments

Comments
 (0)