Skip to content

Commit cfe1c85

Browse files
video player
1 parent 905f924 commit cfe1c85

File tree

2 files changed

+43
-5
lines changed

2 files changed

+43
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ To simplify operations, we provide [BotBrowserConsole](https://github.com/Middle
3737
## Proven Effectiveness Against
3838

3939
- **Leading Antibot Services:**
40-
- **[Cloudflare](tests/tests/antibots/cloudflare.spec.ts)** - [📹 Turnstile Test Result](tests/test-results/cloudflare-test-Cloudflare-turnstile-BotBrowser-antibots/video.webm), [📹 Challenge Test Result](tests/test-results/cloudflare-test-Cloudflare-challenge-BotBrowser-antibots/video.webm)
41-
- **[Kasada](tests/tests/antibots/kasada.spec.ts)** - [📹 Test Result](tests/test-results/kasada-test-Kasada-BotBrowser-antibots/video.webm)
42-
- **[reCAPTCHA](tests/tests/antibots/recaptcha.spec.ts)** - [📹 Test Result](tests/test-results/recaptcha-test-reCAPTCHA-v3-on-antcpt-BotBrowser-antibots/video.webm)
40+
- **[Cloudflare](tests/tests/antibots/cloudflare.spec.ts)** - [▶️ Turnstile Test Result](tests/test-results/cloudflare-test-Cloudflare-turnstile-BotBrowser-antibots/video.webm), [▶️ Challenge Test Result](tests/test-results/cloudflare-test-Cloudflare-challenge-BotBrowser-antibots/video.webm)
41+
- **[Kasada](tests/tests/antibots/kasada.spec.ts)** - [▶️ Test Result](tests/test-results/kasada-test-Kasada-BotBrowser-antibots/video.webm)
42+
- **[reCAPTCHA](tests/tests/antibots/recaptcha.spec.ts)** - [▶️ Test Result](tests/test-results/recaptcha-test-reCAPTCHA-v3-on-antcpt-BotBrowser-antibots/video.webm)
4343
- Cloudfront Bot Management (AWS)
4444
- PerimeterX
4545
- hCaptcha
@@ -55,8 +55,8 @@ To simplify operations, we provide [BotBrowserConsole](https://github.com/Middle
5555
- BrowserScan
5656
- Pixelscan
5757
- botchecker
58-
- **[iphey](tests/tests/antibots/iphey.spec.ts)** - [📹 Test Result](tests/test-results/iphey-test-iphey-BotBrowser-antibots/video.webm)
59-
- **[brotector](tests/tests/antibots/brotector.spec.ts)** - [📹 Test Result](tests/test-results/brotector-test-Brotector-BotBrowser-antibots/video.webm)
58+
- **[iphey](tests/tests/antibots/iphey.spec.ts)** - [▶️ Test Result](tests/test-results/iphey-test-iphey-BotBrowser-antibots/video.webm)
59+
- **[brotector](tests/tests/antibots/brotector.spec.ts)** - [▶️ Test Result](tests/test-results/brotector-test-Brotector-BotBrowser-antibots/video.webm)
6060
- **Top Platforms and Websites:**
6161
- TikTok
6262
- Yandex

docs/video_player/index.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Dynamic Video Player</title>
7+
<style>
8+
body {
9+
font-family: Arial, sans-serif;
10+
margin: 20px;
11+
}
12+
video {
13+
max-width: 100%;
14+
height: auto;
15+
margin-top: 20px;
16+
}
17+
</style>
18+
</head>
19+
<body>
20+
<h1>Dynamic Video Player</h1>
21+
<script>
22+
const params = new URLSearchParams(window.location.search);
23+
const videoPath = params.get('video');
24+
if (videoPath) {
25+
const videoElement = document.createElement('video');
26+
videoElement.setAttribute('controls', 'controls');
27+
videoElement.setAttribute('autoplay', 'autoplay');
28+
29+
const sourceElement = document.createElement('source');
30+
sourceElement.setAttribute('src', videoPath);
31+
sourceElement.setAttribute('type', 'video/webm');
32+
33+
videoElement.appendChild(sourceElement);
34+
document.body.appendChild(videoElement);
35+
}
36+
</script>
37+
</body>
38+
</html>

0 commit comments

Comments
 (0)