With the most recent update on Youtube, a glow effect has been added behind the videos by Google. This new feature, dubbed "cinematic mode", creates an appealing beam of light while the video is playing. I'm currently working on a Boostrap5 project and I'm attempting to replicate the same style that Youtube uses, but I'm unsure about the method to achieve this. I am not certain whether it can be achieved through JavaScript, CSS, or an external library.
The snippet of code I am currently working on:
<div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-css lang-css prettyprint-override"><code><!-- CSS code goes here -->
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Other meta tags -->
<!-- Link to Bootstrap stylesheet -->
<title>YouFlix</title>
<!-- Additional links to assets -->
</head>
<body class="bg-dark">
<div class="container">
<main>
<div class="py-5 text-center">
<!-- HTML for logo and page title -->
</div>
<div class="row g-5">
<div class="col-md-7 col-lg-8">
<video class="embed-responsive embed-responsive-16by9" controls>
<source src="videoplayback.mp4" type="video/mp4" />
</video>
<!-- More HTML content -->
</div>
<div class="col-md-5 col-lg-4 order-md-last">
<!-- HTML for video list -->
</div>
</div>
</main>
<footer class="my-5 pt-5 text-muted text-center text-small">
<p class="mb-1">© 2022–2023 YouFlix</p>
</footer>
</div>
<script src="../assets/dist/js/bootstrap.bundle.min.js"></script>
<script src="form-validation.js"></script>
</body>
</html>