Compare commits

..

No commits in common. "1655484d89e6f60cef2cd63b73cb68f82cd71ab0" and "b3d2e7c568fdd7ee92da8d09238089897c11ee2e" have entirely different histories.

10 changed files with 16 additions and 19 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>watch party :D</title>
<link rel="stylesheet" href="/styles.css?v=19ef791" />
<link rel="stylesheet" href="/styles.css?v=1e57e6" />
</head>
<body>
@ -47,6 +47,6 @@
</form>
</div>
<script type="module" src="/create.mjs?v=19ef791"></script>
<script type="module" src="/create.mjs?v=1e57e6"></script>
</body>
</html>

View File

@ -1,4 +1,4 @@
import { setupCreateSessionForm } from "./lib/create-session.mjs?v=19ef791";
import { setupCreateSessionForm } from "./lib/create-session.mjs?v=1e57e6";
const main = () => {
setupCreateSessionForm();

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>watch party :D</title>
<link rel="stylesheet" href="/styles.css?v=19ef791" />
<link rel="stylesheet" href="/styles.css?v=1e57e6" />
</head>
<body>
@ -64,6 +64,6 @@
</form>
</div>
<script type="module" src="/main.mjs?v=19ef791"></script>
<script type="module" src="/main.mjs?v=1e57e6"></script>
</body>
</html>

View File

@ -2,8 +2,8 @@ import {
setDebounce,
setVideoTime,
setPlaying,
} from "./watch-session.mjs?v=19ef791";
import { emojify, emojis } from "./emojis.mjs?v=19ef791";
} from "./watch-session.mjs?v=1e57e6";
import { emojify, emojis } from "./emojis.mjs?v=1e57e6";
function setCaretPosition(elem, caretPos) {
if (elem.createTextRange) {

View File

@ -1,4 +1,4 @@
import { createSession } from "./watch-session.mjs?v=19ef791";
import { createSession } from "./watch-session.mjs?v=1e57e6";
export const setupCreateSessionForm = () => {
const form = document.querySelector("#create-session-form");

View File

@ -1,4 +1,4 @@
import { joinSession } from "./watch-session.mjs?v=19ef791";
import { joinSession } from "./watch-session.mjs?v=1e57e6";
/**
* @param {HTMLInputElement} field

View File

@ -109,6 +109,7 @@ const createVideoElement = (videoUrl, subtitles) => {
navigator.mediaSession.setActionHandler("seekto", null);
navigator.mediaSession.setActionHandler("previoustrack", null);
navigator.mediaSession.setActionHandler("nexttrack", null);
navigator.mediaSession.setActionHandler("skipad", null);
} else {
// disable media button support by ignoring the events
navigator.mediaSession.setActionHandler("play", () => {});
@ -119,6 +120,7 @@ const createVideoElement = (videoUrl, subtitles) => {
navigator.mediaSession.setActionHandler("seekto", () => {});
navigator.mediaSession.setActionHandler("previoustrack", () => {});
navigator.mediaSession.setActionHandler("nexttrack", () => {});
navigator.mediaSession.setActionHandler("skipad", () => {});
}
return;
}

View File

@ -1,9 +1,9 @@
import { setupVideo } from "./video.mjs?v=19ef791";
import { setupVideo } from "./video.mjs?v=1e57e6";
import {
setupChat,
logEventToChat,
updateViewerList,
} from "./chat.mjs?v=19ef791";
} from "./chat.mjs?v=1e57e6";
import ReconnectingWebSocket from "./reconnecting-web-socket.mjs";
/**

View File

@ -1,4 +1,4 @@
import { setupJoinSessionForm } from "./lib/join-session.mjs?v=19ef791";
import { setupJoinSessionForm } from "./lib/join-session.mjs?v=1e57e6";
const main = () => {
setupJoinSessionForm();

View File

@ -49,7 +49,7 @@ video {
}
#video-container {
flex-grow: 0;
flex-grow: 1;
flex-shrink: 1;
display: none;
}
@ -233,7 +233,7 @@ button.small-button {
#chatbox-container {
background-color: var(--bg);
flex-direction: column;
flex-grow: 1;
flex-grow: 0;
flex-shrink: 1;
flex-basis: 55ch;
overflow: hidden;
@ -329,11 +329,6 @@ input[type="color"]::-webkit-color-swatch-wrapper {
#chatbox-container {
height: 100vh !important;
flex-grow: 0;
}
#video-container {
flex-grow: 1;
}
#chatbox {