mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore(root): prepare workspace for alpha (#276)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { PropsWithChildren } from 'react';
|
||||
import { VideoProvider } from '@videojs/react';
|
||||
import { VideoProvider } from '@videojs/react-preview';
|
||||
import clsx from 'clsx';
|
||||
import { useEffect, useMemo, useRef } from 'react';
|
||||
import { Link as LinkPrimitive, Redirect, Route, Switch, useLocation } from 'wouter';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { HlsVideo } from '@videojs/react';
|
||||
import { HlsVideo } from '@videojs/react-preview';
|
||||
|
||||
export function VideoElement(): JSX.Element {
|
||||
return (
|
||||
|
||||
@@ -25,8 +25,8 @@ import {
|
||||
usePlayButtonState,
|
||||
useTimeSliderRootState,
|
||||
useVolumeSliderRootState,
|
||||
} from '@videojs/react';
|
||||
import { formatDisplayTime } from '@videojs/utils';
|
||||
} from '@videojs/react-preview';
|
||||
import { formatDisplayTime } from '@videojs/utils-preview';
|
||||
|
||||
import clsx from 'clsx';
|
||||
import { useCallback, useState } from 'react';
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
PlayButton,
|
||||
TimeSlider,
|
||||
VolumeSlider,
|
||||
} from '@videojs/react';
|
||||
} from '@videojs/react-preview';
|
||||
import {
|
||||
FullscreenEnterIcon,
|
||||
FullscreenExitIcon,
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
VolumeHighIcon,
|
||||
VolumeLowIcon,
|
||||
VolumeOffIcon,
|
||||
} from '@videojs/react/icons';
|
||||
} from '@videojs/react-preview/icons';
|
||||
import styles from './styles';
|
||||
|
||||
type SkinProps = PropsWithChildren<{
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
TimeSlider,
|
||||
Tooltip,
|
||||
VolumeSlider,
|
||||
} from '@videojs/react';
|
||||
} from '@videojs/react-preview';
|
||||
import {
|
||||
FullscreenEnterIcon,
|
||||
FullscreenExitIcon,
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
VolumeHighIcon,
|
||||
VolumeLowIcon,
|
||||
VolumeOffIcon,
|
||||
} from '@videojs/react/icons';
|
||||
} from '@videojs/react-preview/icons';
|
||||
|
||||
import './frosted.css';
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
TimeSlider,
|
||||
Tooltip,
|
||||
VolumeSlider,
|
||||
} from '@videojs/react';
|
||||
} from '@videojs/react-preview';
|
||||
import {
|
||||
FullscreenEnterAltIcon,
|
||||
FullscreenExitAltIcon,
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
VolumeHighIcon,
|
||||
VolumeLowIcon,
|
||||
VolumeOffIcon,
|
||||
} from '@videojs/react/icons';
|
||||
} from '@videojs/react-preview/icons';
|
||||
|
||||
import './minimal.css';
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import '@videojs/react/skins/frosted.css';
|
||||
import '@videojs/react-preview/skins/frosted.css';
|
||||
|
||||
export { FrostedSkin as default } from '@videojs/react';
|
||||
export { FrostedSkin as default } from '@videojs/react-preview';
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import '@videojs/react/skins/minimal.css';
|
||||
import '@videojs/react-preview/skins/minimal.css';
|
||||
|
||||
export { MinimalSkin as default } from '@videojs/react';
|
||||
export { MinimalSkin as default } from '@videojs/react-preview';
|
||||
|
||||
Reference in New Issue
Block a user