diff --git a/src/index.tsx b/src/index.tsx index 080b9712..4bcf297d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -19,12 +19,13 @@ if (key) { initializeChromecast(); // TODO video todos: -// - mobile controls start showing when resizing -// - bug: popouts sometimes stop working when selecting different episode // - captions // - chrome cast support -// - safari fullscreen will make video overlap player controls -// - safari progress bar is fucked (video doesnt change time but video.currentTime does change) +// - bug: mobile controls start showing when resizing +// - bug: popouts sometimes stop working when selecting different episode +// - bug: unmounting player throws errors in console +// - bug: safari fullscreen will make video overlap player controls +// - bug: safari progress bar is fucked (video doesnt change time but video.currentTime does change) // TODO stuff to test: // - browser: firefox, chrome, edge, safari desktop @@ -40,7 +41,7 @@ initializeChromecast(); // - AFTER all that: rank providers/embedscrapers // TODO general todos: -// - localize everything (fix loading screen text (series vs movies)) (and have EN file instead) +// - localize everything (fix loading screen text (series vs movies)) (and have EN file instead of en-gb) ReactDOM.render( diff --git a/src/setup/App.tsx b/src/setup/App.tsx index 5f1b2b11..6ab1374c 100644 --- a/src/setup/App.tsx +++ b/src/setup/App.tsx @@ -6,9 +6,7 @@ import { NotFoundPage } from "@/views/notfound/NotFoundView"; import { MediaView } from "@/views/media/MediaView"; import { SearchView } from "@/views/search/SearchView"; import { MWMediaType } from "@/backend/metadata/types"; -import { TestView } from "@/views/TestView"; -// TODO remove test view function App() { return ( @@ -18,7 +16,6 @@ function App() { - (null); -// const available = useChromecastAvailable(); - -// useEffect(() => { -// if (!available) return; -// const tag = document.createElement("google-cast-launcher"); -// tag.setAttribute("id", "castbutton"); -// ref.current?.appendChild(tag); -// }, [available]); - -// return
; -// } - -export function TestView() { - return ( - alert("hello world")}> - - {/* */} - - ); -}