mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Minor usability improvements, video styling
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
color: #999999;
|
||||
}
|
||||
video {
|
||||
object-fit: fill;
|
||||
width: 100%
|
||||
}
|
||||
</style>
|
||||
@@ -26,4 +25,10 @@
|
||||
<source src="<%= url %><%= path %>?stream=true" type="video/mp4">
|
||||
</video>
|
||||
</body>
|
||||
<script>
|
||||
var v = document.getElementsByTagName('video')[0]
|
||||
v.style.maxHeight = window.innerHeight - 100
|
||||
v.maxWidth = window.innerWidth
|
||||
console.log('a')
|
||||
</script>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user