fb9902842d
Add `Open in StackBlitz` button to `examples/with-redux-persist` and `examples/with-videojs`. #### with-redux-persist At first we though the example didn't work correctly in WebContainer because it shows the following message > redux-persist failed to create sync storage. falling back to noop storage. After investigating this, we saw the same message on local as well and is probably intended behaviour because of SSR. The example works, but it makes sense that it can't get the local storage on the server side and that's what causing the message. #### with-videojs The video's couldn't be played in the preview frame before. I fixed it on our end and thus also added the StackBlitz button. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [x] Example(s) updated - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [x] Make sure the linting passes
1.3 KiB
1.3 KiB
video.js example
This example shows how to use Next.js along with Video.js including handling of default styles.
Preview
Preview the example live on StackBlitz:
Deploy your own
Deploy the example using Vercel:
How to use
Execute create-next-app
with npm or Yarn to bootstrap the example::
npx create-next-app --example with-videojs with-videojs-app
# or
yarn create next-app --example with-videojs with-videojs-app
Deploy it to the cloud with Vercel (Documentation).