-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* perf: cleanup codec logic chore: update videojs-contrib-dash * chore: cleanup * chore: updated exports * chore: exports * chore: exports
- Loading branch information
Showing
10 changed files
with
41 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
// This file is bundled as `videoPlayer.js` to be imported as a tree-shaken module. | ||
// This file is bundled as `cld-video-player.js` to be imported as a tree-shaken module. | ||
// It is the default export of the Cloudinary Video Player. | ||
|
||
// Usage: | ||
// import videoPlayer from 'cloudinary-video-player/videoPlayer'; | ||
// import dashjs from "cloudinary-video-player/dash"; | ||
// import cloudinary from 'cloudinary-video-player'; | ||
// Or: | ||
// import { videoPlayer } from "cloudinary-video-player"; | ||
|
||
export { videoPlayer as default } from './index.js'; | ||
// Other modules can be imported like that: | ||
// import dash from 'cloudinary-video-player/dash'; | ||
|
||
import cloudinary from './index.js'; | ||
|
||
export const videoPlayer = cloudinary.videoPlayer; | ||
export const videoPlayers = cloudinary.videoPlayers; | ||
export const videoPlayerWithProfile = cloudinary.videoPlayerWithProfile; | ||
|
||
export default cloudinary; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// This file is bundled as `videoPlayer.js` to be imported as a tree-shaken module. | ||
|
||
// Usage: | ||
// import videoPlayer from 'cloudinary-video-player/videoPlayer'; | ||
|
||
export { videoPlayer as default } from './index.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// This file is bundled as `videoPlayerWithProfile.js` to be imported as a tree-shaken module. | ||
|
||
// Usage: | ||
// import videoPlayerWithProfile from 'cloudinary-video-player/videoPlayerWithProfile'; | ||
|
||
export { videoPlayerWithProfile as default } from './index.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters