<div class="video-player">
<video id="videoPlayer" controls autoplay style="width: 100%; height: 100%;">
<!-- Fallback message -->
Your browser does not support the video tag.
</video>
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
<script>
const video = document.getElementById('videoPlayer');
const streamURL = "https://service-stitcher.clusters.pluto.tv/v1/stitch/embed/hls/channel/60d356a534f63f000850cdd7/master.m3u8?advertisingId=channel&amp;appName=rokuchannel&amp;appVersion=1.0&amp;bmodel=bm1&amp;channel_id=channel&amp;content=channel&amp;content_rating=ROKU_ADS_CONTENT_RATING&amp;content_type=livefeed&amp;coppa=false&amp;deviceDNT=1&amp;deviceId=channel&amp;deviceMake=rokuChannel&amp;deviceModel=web&amp;deviceType=rokuChannel&amp;deviceVersion=1.0&amp;embedPartner=rokuChannel&amp;genre=ROKU_ADS_CONTENT_GENRE&amp;is_lat=1&amp;platform=web&amp;rdid=channel&amp;serverSideAds=false&amp;studio_id=viacom&amp;tags=ROKU_CONTENT_TAGS";
if (Hls.isSupported()) {
const hls = new Hls();
hls.loadSource(streamURL);
hls.attachMedia(video);
} else if (video.canPlayType('application/vnd.apple.mpegurl')) {
video.src = streamURL;
} else {
console.error('This browser does not support HLS playback.');
}
</script>
</div>