Progress
This commit is contained in:
@ -13,7 +13,7 @@ import { useWallet } from "Wallet";
|
||||
import { PaymentsCache } from "Cache";
|
||||
import { Payment } from "Db";
|
||||
import PageSpinner from "Element/PageSpinner";
|
||||
import { LiveVideoPlayer } from "Element/LiveVideoPlayer";
|
||||
|
||||
/*
|
||||
[
|
||||
"imeta",
|
||||
@ -183,9 +183,6 @@ export function MediaElement(props: MediaElementProps) {
|
||||
} else if (props.mime.startsWith("audio/")) {
|
||||
return <audio key={props.url} src={url} controls onError={() => probeFor402()} />;
|
||||
} else if (props.mime.startsWith("video/")) {
|
||||
if (props.url.endsWith(".m3u8")) {
|
||||
return <LiveVideoPlayer stream={props.url} />;
|
||||
}
|
||||
return <video key={props.url} src={url} controls onError={() => probeFor402()} />;
|
||||
} else {
|
||||
return (
|
||||
|
Reference in New Issue
Block a user