Skip to content

Instantly share code, notes, and snippets.

@Shih-Yu
Created January 18, 2022 17:23
Show Gist options
  • Save Shih-Yu/cb52b89edd0cf8a83f91de78daa51996 to your computer and use it in GitHub Desktop.
Save Shih-Yu/cb52b89edd0cf8a83f91de78daa51996 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web Stream Demo</title>
</head>
<!-- Internal CSS styling -->
<style>
body {
background-color: #0c0908;
}
h1 {
text-align: center;
margin-top: 100px;
color: #8777d6;
}
.flex-container {
display: flex;
justify-content: center;
margin-top: 100px;
}
iframe {
border: 3px solid#8777D6;
border-radius: 5px;
}
</style>
<body>
<!-- Title of the page -->
<h1>Welcome to the live stream!</h1>
<div class="flex-container">
<iframe
src="https://cdn.jwplayer.com/players/yPdwJR8o-qHcvMMW9.html"
width="640"
height="360"
frameborder="0"
scrolling="auto"
title="WebDemo"
allowfullscreen
></iframe>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment