Repository navigation
Expand file tree
/
Copy pathplayer.html
More file actions
22 lines (18 loc) · 2.26 KB
/
Copy pathplayer.html
File metadata and controls
22 lines (18 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"><title>Netflix</title><meta name="twitter:description" content="Die Netflix Serie, "die Räuber""><meta name="twitter:image" content="https://ancientxfire.github.io/assets/img/sincerely-media-c1YrcFYW66s-unsplash.jpg"><meta property="og:type" content="website"><meta name="description" content="Die Netflix Serie, "die Räuber""><meta property="og:image" content="https://ancientxfire.github.io/assets/img/sincerely-media-c1YrcFYW66s-unsplash.jpg"><meta name="twitter:title" content="Netflix"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap"><link rel="stylesheet" href="https://vjs.zencdn.net/7.21.1/video-js.css"><link rel="stylesheet" href="assets/css/styles.min.css"><script src="https://cdn.fluidplayer.com/v3/current/fluidplayer.min.js"></script>
</head><body><video id="my-video" class="video-js" controls="" preload="auto" width="640" height="264" autoplay="true" poster="https://media.tenor.com/XasjKGMk_wAAAAAC/load-loading.gif" data-setup="{}">
<source src="https://archive.org/download/Rick_Astley_Never_Gonna_Give_You_Up/Rick_Astley_Never_Gonna_Give_You_Up.mp4" id="plyer" type="video/mp4">
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a
web browser that
<a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
</p>
</video>
<script src="https://vjs.zencdn.net/7.21.1/video.min.js"></script>
<script>
const queryString = window.location.search;
console.log(queryString);
const urlParams = new URLSearchParams(queryString);
const source = urlParams.get('source')
console.log(source);
document.getElementById("plyer").src = source
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script><script src="https://vjs.zencdn.net/7.21.1/video.min.js"></script><script src="assets/js/script.min.js"></script></body></html>