mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(react): use SimpleVideo as default Video and rename HLS version to HlsVideo (#171)
This commit is contained in:
@@ -17,7 +17,7 @@ export function FrostedSkinDemo() {
|
||||
<VideoProvider>
|
||||
<FrostedSkin className="w-full aspect-video rounded-3xl">
|
||||
<Video
|
||||
src={VJS8_DEMO_VIDEO.hls}
|
||||
src={VJS8_DEMO_VIDEO.mp4}
|
||||
poster={VJS8_DEMO_VIDEO.poster}
|
||||
playsInline
|
||||
/>
|
||||
|
||||
@@ -12,7 +12,7 @@ export function FullscreenButtonDemo() {
|
||||
<VideoProvider>
|
||||
<MediaContainer style={{ position: 'relative', zIndex: 10 }}>
|
||||
<Video
|
||||
src={VJS8_DEMO_VIDEO.hls}
|
||||
src={VJS8_DEMO_VIDEO.mp4}
|
||||
poster={VJS8_DEMO_VIDEO.poster}
|
||||
muted
|
||||
/>
|
||||
|
||||
@@ -16,7 +16,7 @@ export function MinimalSkinDemo() {
|
||||
<VideoProvider>
|
||||
<MinimalSkin className="w-full aspect-video">
|
||||
<Video
|
||||
src={VJS8_DEMO_VIDEO.hls}
|
||||
src={VJS8_DEMO_VIDEO.mp4}
|
||||
poster={VJS8_DEMO_VIDEO.poster}
|
||||
playsInline
|
||||
/>
|
||||
|
||||
@@ -12,7 +12,7 @@ export function MuteButtonDemo() {
|
||||
<VideoProvider>
|
||||
<MediaContainer style={{ position: 'relative', zIndex: 10 }}>
|
||||
<Video
|
||||
src={VJS8_DEMO_VIDEO.hls}
|
||||
src={VJS8_DEMO_VIDEO.mp4}
|
||||
poster={VJS8_DEMO_VIDEO.poster}
|
||||
muted
|
||||
/>
|
||||
|
||||
@@ -12,7 +12,7 @@ export function PlayButtonDemo() {
|
||||
<VideoProvider>
|
||||
<MediaContainer style={{ position: 'relative', zIndex: 10 }}>
|
||||
<Video
|
||||
src={VJS8_DEMO_VIDEO.hls}
|
||||
src={VJS8_DEMO_VIDEO.mp4}
|
||||
poster={VJS8_DEMO_VIDEO.poster}
|
||||
muted
|
||||
/>
|
||||
|
||||
@@ -12,7 +12,7 @@ export function TimeSliderDemo() {
|
||||
<VideoProvider>
|
||||
<MediaContainer style={{ position: 'relative', zIndex: 10 }}>
|
||||
<Video
|
||||
src={VJS8_DEMO_VIDEO.hls}
|
||||
src={VJS8_DEMO_VIDEO.mp4}
|
||||
poster={VJS8_DEMO_VIDEO.poster}
|
||||
muted
|
||||
/>
|
||||
|
||||
@@ -12,7 +12,7 @@ export function VolumeSliderDemo() {
|
||||
<VideoProvider>
|
||||
<MediaContainer style={{ position: 'relative', zIndex: 10 }}>
|
||||
<Video
|
||||
src={VJS8_DEMO_VIDEO.hls}
|
||||
src={VJS8_DEMO_VIDEO.mp4}
|
||||
poster={VJS8_DEMO_VIDEO.poster}
|
||||
muted
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user