mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
move around some todos
This commit is contained in:
parent
a369682a26
commit
714b378f68
4 changed files with 10 additions and 9 deletions
|
@ -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";
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue