mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
refactor(packages): move feature presets to subpath exports (#633)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { createPlayer, features } from '@videojs/react';
|
||||
import { Video } from '@videojs/react/video';
|
||||
import { createPlayer } from '@videojs/react';
|
||||
import { Video, videoFeatures } from '@videojs/react/video';
|
||||
|
||||
import './BasicUsage.css';
|
||||
|
||||
const { Provider, Container, usePlayer } = createPlayer({
|
||||
features: features.video,
|
||||
features: videoFeatures,
|
||||
});
|
||||
|
||||
function Controls() {
|
||||
|
||||
Reference in New Issue
Block a user