diff --git a/src/pages/watch.astro b/src/pages/watch.astro
index bf39404..fc27fa3 100644
--- a/src/pages/watch.astro
+++ b/src/pages/watch.astro
@@ -5,19 +5,24 @@ import Base from "@layouts/Default.astro";
// Environment Variables
const DEFAULT_INVIDIOUS_INSTANCE = import.meta.env.DEFAULT_INVIDIOUS_INSTANCE
-// Components
-
// Fetch
const SWV = Astro.url.href.split("watch?v=").pop();
const video = await fetch('https://' + DEFAULT_INVIDIOUS_INSTANCE + "/api/v1/videos/" + SWV).then((response) => response.json());
const comments = await fetch('https://' + DEFAULT_INVIDIOUS_INSTANCE + "/api/v1/comments/" + SWV).then((response) => response.json());
+
+// Set Cookies
+/// This is used for the "Link" button so users can return to the video
+Astro.cookies.set("InlinePlayerId", SWV, {
+ path: "/",
+ sameSite: "strict",
+});
---