1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

move around some todos

This commit is contained in:
Jelle van Snik 2023-01-16 21:25:16 +01:00
parent a369682a26
commit 714b378f68
4 changed files with 10 additions and 9 deletions

View file

@ -1,10 +1,5 @@
import { initializeScraperStore } from "./helpers/register";
// TODO backend system:
// - caption support
// - move over old providers to new system
// - implement jons providers/embedscrapers
// providers
import "./providers/gdriveplayer";

View file

@ -108,7 +108,6 @@ export function populateControls(
initPlayer(sourceUrl: string, sourceType: MWStreamType) {
this.setVolume(getStoredVolume());
// TODO test HLS errors
if (sourceType === MWStreamType.HLS) {
if (player.canPlayType("application/vnd.apple.mpegurl")) {
player.src = sourceUrl;

View file

@ -139,7 +139,6 @@ function registerListeners(player: HTMLVideoElement, update: SetPlayer) {
};
const error = () => {
console.error("Native video player threw error", player.error);
// TODO check if these errors are actually fatal
update((s) => ({
...s,
error: player.error

View file

@ -30,12 +30,20 @@ if (key) {
// - browser: firefox, chrome, edge, safari desktop
// - phones: android firefox, android chrome, iphone safari
// - devices: ipadOS
// - features: HLS, error handling, preload interactions
// - HLS
// - HLS error handling
// - video player error handling
// TODO backend system:
// - caption support
// - move over old providers to new system
// - implement jons providers/embedscrapers
// - AFTER all that: rank providers/embedscrapers
// TODO general todos:
// - localize everything
// - add titles to pages
// - find place for bookmarks
// - find place for bookmark button
// - find place for progress bar for "continue watching" section
ReactDOM.render(