diff --git a/public/css/nhgooi.css b/public/css/nhgooi.css index 32e6445e..7e0db2b0 100644 --- a/public/css/nhgooi.css +++ b/public/css/nhgooi.css @@ -446,3 +446,19 @@ a.fixed-height img { .text-muted { color: #7C7C7C; } + +.oembed { + height: auto; + padding-bottom: 56.25%; + position: relative; + width: 100%; + max-width: 100%; +} + +.oembed iframe { + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} diff --git a/resources/views/partial/nh_story.blade.php b/resources/views/partial/nh_story.blade.php index a063d51b..636d9970 100644 --- a/resources/views/partial/nh_story.blade.php +++ b/resources/views/partial/nh_story.blade.php @@ -79,6 +79,8 @@ @endforeach + @elseif($block->type == "oembed") +
@endif @endforeach