mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-11 19:49:10 +01:00
move around some todos
This commit is contained in:
parent
a369682a26
commit
714b378f68
@ -1,10 +1,5 @@
|
|||||||
import { initializeScraperStore } from "./helpers/register";
|
import { initializeScraperStore } from "./helpers/register";
|
||||||
|
|
||||||
// TODO backend system:
|
|
||||||
// - caption support
|
|
||||||
// - move over old providers to new system
|
|
||||||
// - implement jons providers/embedscrapers
|
|
||||||
|
|
||||||
// providers
|
// providers
|
||||||
import "./providers/gdriveplayer";
|
import "./providers/gdriveplayer";
|
||||||
|
|
||||||
|
@ -108,7 +108,6 @@ export function populateControls(
|
|||||||
initPlayer(sourceUrl: string, sourceType: MWStreamType) {
|
initPlayer(sourceUrl: string, sourceType: MWStreamType) {
|
||||||
this.setVolume(getStoredVolume());
|
this.setVolume(getStoredVolume());
|
||||||
|
|
||||||
// TODO test HLS errors
|
|
||||||
if (sourceType === MWStreamType.HLS) {
|
if (sourceType === MWStreamType.HLS) {
|
||||||
if (player.canPlayType("application/vnd.apple.mpegurl")) {
|
if (player.canPlayType("application/vnd.apple.mpegurl")) {
|
||||||
player.src = sourceUrl;
|
player.src = sourceUrl;
|
||||||
|
@ -139,7 +139,6 @@ function registerListeners(player: HTMLVideoElement, update: SetPlayer) {
|
|||||||
};
|
};
|
||||||
const error = () => {
|
const error = () => {
|
||||||
console.error("Native video player threw error", player.error);
|
console.error("Native video player threw error", player.error);
|
||||||
// TODO check if these errors are actually fatal
|
|
||||||
update((s) => ({
|
update((s) => ({
|
||||||
...s,
|
...s,
|
||||||
error: player.error
|
error: player.error
|
||||||
|
@ -30,12 +30,20 @@ if (key) {
|
|||||||
// - browser: firefox, chrome, edge, safari desktop
|
// - browser: firefox, chrome, edge, safari desktop
|
||||||
// - phones: android firefox, android chrome, iphone safari
|
// - phones: android firefox, android chrome, iphone safari
|
||||||
// - devices: ipadOS
|
// - 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:
|
// TODO general todos:
|
||||||
// - localize everything
|
// - localize everything
|
||||||
// - add titles to pages
|
// - add titles to pages
|
||||||
// - find place for bookmarks
|
// - find place for bookmark button
|
||||||
// - find place for progress bar for "continue watching" section
|
// - find place for progress bar for "continue watching" section
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user