- ID de l'analyse :
- 20586573-b6af-4c60-a098-d9550b4d8870Terminée
- URL soumise :
- https://videy.co/
- Fin du rapport :
Liens : 0 trouvé(s)
Liens sortants identifiés à partir de la page
Variables JavaScript : 13 trouvée(s)
Les variables JavaScript globales chargées dans l'objet fenêtre d'une page sont des variables déclarées en dehors des fonctions et accessibles depuis n'importe quel endroit du code au sein du champ d'application actuel
Nom | Type |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
$ | function |
jQuery | function |
gtag | function |
dataLayer | object |
handleClick | function |
upload | function |
google_tag_manager | object |
Messages de journal de console : 0 trouvé(s)
Messages consignés dans la console web
HTML
Le corps HTML de la page en données brutes
<html><head>
<title>Videy | Free and Simple Video Hosting</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<link rel="icon" type="image/x-icon" href="https://videy.co/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&family=Poppins:wght@400;600&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="assets/style.css?cache=696041190967">
</head>
<body>
<div class="container">
<div class="top">
<div class="logo">
<a href="/">videy</a>
</div>
<div class="upload" onclick="handleClick();">Upload</div>
<div class="more">
<a href="/advertise">Advertise</a>
</div>
</div>
<div class="text">
<div class="main-line">Free and Simple Video Hosting</div>
<div class="second-line">Get started without an account</div>
</div>
<div class="box">
<div class="box-upload" onclick="handleClick();">Upload a Video</div>
<div style="padding-top: 24px; display: none;"><span style="background-color: #f8f7f0; padding: 8px 16px; border-radius: 4px; font-size: 14px; font-weight: 500;">30 NOV: Video uploading issues fixed.</span></div>
</div>
<form action="https://videy.co/api/upload" method="POST" id="form">
<input name="file" type="file" id="selectedFile" class="clickListenerFile" accept=".mp4" style="display: none;">
</form>
<div class="upload-error" style="display: none"></div>
<div class="footer">
<div class="copyright"> Copyright © <span id="year">2024</span> TRUE DOMAIN PRIVACY, LLC </div>
<div class="legal">
<div class="item">
<a href="/terms-of-service">Terms of Service</a>
</div>
<div class="item">
<a href="/report">Report Abuse</a>
</div>
</div>
</div>
</div>
<!-- Google tag (gtag.js) -->
<script async="" defer="" src="https://www.googletagmanager.com/gtag/js?id=G-BDP4EF6BCQ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BDP4EF6BCQ');
</script>
<script>
document.getElementById('year').textContent = new Date().getFullYear();
</script>
<script>
let target = document.documentElement;
let body = document.body;
let fileInput = document.getElementById("selectedFile");
target.addEventListener('dragover', (e) => {
if ($(".clickListenerFile")[0]) {
e.preventDefault();
body.classList.add('dragging');
}
});
target.addEventListener('dragleave', () => {
body.classList.remove('dragging');
});
target.addEventListener('drop', (e) => {
if ($(".clickListenerFile")[0]) {
e.preventDefault();
body.classList.remove('dragging');
fileInput.files = e.dataTransfer.files;
upload();
}
});
window.addEventListener('paste', e => {
fileInput.files = e.clipboardData.files;
upload();
});
document.getElementsByClassName("clickListenerFile")[0].onchange = function() {
upload();
}
function handleClick() {
if ($(".clickListenerFile")[0]) {
$(".clickListenerFile").click();
}
}
function upload() {
var fileInput = $("#selectedFile")[0].files[0];
var errorDiv = $(".upload-error");
// clear any previous error messages
errorDiv.hide().text('');
if (fileInput) {
// validate file type
if (fileInput.type !== 'video/mp4' && fileInput.type !== 'video/quicktime') {
errorDiv.text("Error: wrong filetype, please select an .mp4 or .mov").show();
return;
}
// validate file size (100MB = 100 * 1024 * 1024 bytes)
var maxFileSize = 100 * 1024 * 1024; // 100MB
if (fileInput.size > maxFileSize) {
errorDiv.text("Error: too large, please upload a file less than 100MB").show();
return;
}
var formData = new FormData($('form')[0]);
$("#selectedFile").removeClass("clickListenerFile");
$(".box-upload").addClass("animate");
$.ajax({
xhr: function() {
var xhr = new window.XMLHttpRequest();
xhr.upload.addEventListener("progress", function(evt) {
if (evt.lengthComputable) {
var percentComplete = evt.loaded / evt.total;
percentComplete = parseInt(percentComplete * 100);
$(".box-upload").html(percentComplete + "%");
if (percentComplete === 100) {
$(".box-upload").html("Processing");
}
}
}, false);
return xhr;
},
url: 'https://videy.co/api/upload',
type: 'POST',
context: this,
data: formData,
cache: false,
contentType: false,
processData: false,
success: function(result) {
localStorage.setItem('uploader', true);
window.location.href = "/v?id=" + result.id;
},
error: function() {
$(".box-upload").html("Upload a Video");
$(".box-upload").removeClass("animate");
}
});
}
}
</script>
</body></html>