From 1e422fa9d84b90eb308f4ff8c3bf28c64c747d57 Mon Sep 17 00:00:00 2001 From: dan Date: Sun, 29 Mar 2020 13:12:51 -0600 Subject: [PATCH] Add youtube embeds --- Client/src/app/components/home/home.component.html | 2 +- Client/src/app/components/home/video-services.ts | 1 + .../live-stream/live-stream.component.css | 2 +- .../live-stream/live-stream.component.html | 5 ++++- .../components/live-stream/live-stream.component.ts | 2 ++ .../video-services/video-services.component.css | 13 +++++++++++++ .../video-services/video-services.component.html | 5 ++++- Client/src/assets/json/videoServices.json | 7 ++++--- 8 files changed, 30 insertions(+), 7 deletions(-) diff --git a/Client/src/app/components/home/home.component.html b/Client/src/app/components/home/home.component.html index f452364..31984e2 100644 --- a/Client/src/app/components/home/home.component.html +++ b/Client/src/app/components/home/home.component.html @@ -1,5 +1,5 @@ -background image +background image
diff --git a/Client/src/app/components/home/video-services.ts b/Client/src/app/components/home/video-services.ts index 937fcee..0d68d89 100644 --- a/Client/src/app/components/home/video-services.ts +++ b/Client/src/app/components/home/video-services.ts @@ -8,4 +8,5 @@ export class VideoService { src: string; date: Date; archived: boolean; + yt: string; } \ No newline at end of file diff --git a/Client/src/app/components/live-stream/live-stream.component.css b/Client/src/app/components/live-stream/live-stream.component.css index f3db060..6799f04 100644 --- a/Client/src/app/components/live-stream/live-stream.component.css +++ b/Client/src/app/components/live-stream/live-stream.component.css @@ -4,7 +4,7 @@ height: 0; padding-bottom: 56.25%; } -.video { +.video-container iframe { position: absolute; top: 0; left: 0; diff --git a/Client/src/app/components/live-stream/live-stream.component.html b/Client/src/app/components/live-stream/live-stream.component.html index 714e7d0..5c16181 100644 --- a/Client/src/app/components/live-stream/live-stream.component.html +++ b/Client/src/app/components/live-stream/live-stream.component.html @@ -1,8 +1,11 @@

{{message}}

-
+
+
+
+
- +
+ +
+