Play in browser now works with chromium
This commit is contained in:
parent
a949591f99
commit
4f88beab0a
5 changed files with 564 additions and 266 deletions
32
resources/playInBrowser.html
Normal file
32
resources/playInBrowser.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
<!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">
|
||||
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<style>
|
||||
* {
|
||||
margin: auto;
|
||||
padding: 0 !important;
|
||||
}
|
||||
body {
|
||||
width: 100vw;
|
||||
max-width: 100vw;
|
||||
padding: 0;
|
||||
background-color: black;
|
||||
}
|
||||
video {
|
||||
width: 100vw;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
</style>
|
||||
<title>Playing video in browser</title>
|
||||
</head>
|
||||
<body>
|
||||
<video controls src="/download{DOWNLOAD_URL}"></video>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue