Increase upload timeout and other fixes
This commit is contained in:
@@ -86,12 +86,13 @@ instead of inline rendering, which causes the browser to show a 'Save File'
|
||||
dialog.
|
||||
|
||||
Warning: If a file is using too much bandwidth it can be rate limited. The rate
|
||||
limit will be enabled if a file has ten times more downloads than views. The
|
||||
limit will be enabled if a file has three times more downloads than views. The
|
||||
owner of a file can always download it. When a file is rate limited the user
|
||||
will need to fill out a captcha in order to continue downloading the file. The
|
||||
captcha will only appear on the file viewer page (pixeldrain.com/u/{id}). Rate
|
||||
limiting has been added to prevent the spread of viruses and to stop direct
|
||||
linking.
|
||||
linking. Direct linking is only allowed when files are uploaded using a Pro
|
||||
account.
|
||||
|
||||
Pixeldrain also includes a virus scanner. If a virus has been detected in a file
|
||||
the user will also have to fill in a captcha to download it.
|
||||
|
@@ -8,6 +8,7 @@ function VideoViewer(viewer, file, next) {
|
||||
|
||||
this.vidElement = document.createElement("video")
|
||||
this.vidElement.controls = "controls"
|
||||
this.vidElement.playsInline = "playsInline"
|
||||
this.vidElement.classList = "center drop_shadow"
|
||||
this.vidElement.addEventListener("ended", () => { this.next() }, false)
|
||||
if (!embeddedViewer) {
|
||||
@@ -16,6 +17,7 @@ function VideoViewer(viewer, file, next) {
|
||||
|
||||
this.videoSource = document.createElement("source")
|
||||
this.videoSource.src = this.file.get_href
|
||||
this.videoSource.type = this.file.mime_type
|
||||
|
||||
this.vidElement.appendChild(this.videoSource)
|
||||
this.vidContainer.appendChild(this.vidElement)
|
||||
|
@@ -305,7 +305,7 @@ p, .indent {
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 0.5em;
|
||||
margin-bottom: 0.3em;
|
||||
}
|
||||
|
||||
hr{
|
||||
|
@@ -88,8 +88,8 @@
|
||||
window.api_endpoint = '{{.APIEndpoint}}';
|
||||
window.user_subscription = {{.User.Subscription}};
|
||||
</script>
|
||||
<link rel='stylesheet' href='/res/svelte/home_page.css?v1'>
|
||||
<script defer src='/res/svelte/home_page.js?v1'></script>
|
||||
<link rel='stylesheet' href='/res/svelte/home_page.css?v2'>
|
||||
<script defer src='/res/svelte/home_page.js?v2'></script>
|
||||
</head>
|
||||
<body>
|
||||
{{template "page_top" .}}
|
||||
@@ -135,10 +135,10 @@
|
||||
</p>
|
||||
<p>
|
||||
Pixeldrain uses
|
||||
<a
|
||||
href="https://en.wikipedia.org/wiki/Byte#Multiple-byte_units" target="_blank">SI
|
||||
standard units</a> for measuring file sizes. If you are using
|
||||
Windows your files may appear smaller than they actually are.
|
||||
<a href="https://en.wikipedia.org/wiki/Byte#Multiple-byte_units"
|
||||
target="_blank">SI standard units</a> for measuring file sizes.
|
||||
If you are using Microsoft Windows your files may appear smaller
|
||||
than they actually are.
|
||||
</p>
|
||||
<br/>
|
||||
<div class="feat_table">
|
||||
|
Reference in New Issue
Block a user