mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-05-09 20:25:14 +02:00
web development :)))))))))))))))))))))))))))
This commit is contained in:
parent
841c824590
commit
5b8639ce6a
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "stream-bypass",
|
||||
"version": "2.1.2",
|
||||
"version": "2.1.3",
|
||||
"description": "Multi-browser addon for multiple streaming providers which redirects directly to the source video",
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"name": "Stream Bypass",
|
||||
"author": "ByteDream",
|
||||
"description": "A multi-browser addon / extension for multiple streaming providers which redirects directly to the source video.",
|
||||
"version": "2.1.2",
|
||||
"version": "2.1.3",
|
||||
"homepage_url": "https://github.com/ByteDream/stream-bypass",
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
|
@ -8,7 +8,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<video id="video"></video>
|
||||
<div id="message-container" hidden>
|
||||
<div id="message-container">
|
||||
<p id="message"></p>
|
||||
<br>
|
||||
<p>Open a new issue <a href="https://github.com/ByteDream/stream-bypass/issues/new">here</a></p>
|
||||
|
@ -12,6 +12,7 @@ video
|
||||
left: 0
|
||||
|
||||
#message-container
|
||||
visibility: hidden
|
||||
display: flex
|
||||
justify-content: center
|
||||
align-items: center
|
||||
@ -20,5 +21,8 @@ video
|
||||
text-align: center
|
||||
height: 100%
|
||||
|
||||
& *
|
||||
visibility: inherit
|
||||
|
||||
& a, & a:visited
|
||||
color: red
|
||||
|
@ -4,7 +4,7 @@ import Hls from "hls.js";
|
||||
|
||||
function show_message(message: string) {
|
||||
document.getElementById('message').innerText = message
|
||||
document.getElementById('message-container').hidden = false
|
||||
document.getElementById('message-container').style.visibility = 'visible'
|
||||
document.getElementById('video').hidden = true
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user