Update documentations for new version
This commit is contained in:
parent
ded7d47e1e
commit
d3a7d577f7
9 changed files with 197 additions and 76 deletions
|
@ -18,19 +18,19 @@ import {Zorn} from "@minpluto/zorn"
|
|||
Since Zorn was originally built for the MinPluto frontend project, there are scenarios where the video source has no audio to get higher quality options. If you're in a scenario where the video source is missing audio, but you do have the audio itself, you can add that audio source to the video player. A separated `<audio/>` element is used, this will use a sync function in JavaScript to make sure the video and audio are synced. As before with the video source, it can be local or remote.
|
||||
|
||||
**Demo Used Above**
|
||||
<Code lang="jsx" code={
|
||||
`---
|
||||
import {Zorn} from "@minpluto/zorn"
|
||||
---
|
||||
<Code lang="jsx" code={`
|
||||
---
|
||||
import {Zorn} from "@minpluto/zorn"
|
||||
---
|
||||
|
||||
<Zorn
|
||||
PlayerName="the_mark_on_the_wall"
|
||||
Poster="https://md.sudovanilla.org/images/wote-p-v.jpeg"
|
||||
Video="https://ocean.sudovanilla.org/media/videos/The%20Mark%20On%20The%20Wall/1080.mp4"
|
||||
Audio="https://ocean.sudovanilla.org/media/videos/The%20Mark%20On%20The%20Wall/audio.mp4"
|
||||
VideoAttributes="muted"
|
||||
AudioAttributes=""
|
||||
/>
|
||||
<Zorn
|
||||
PlayerName="the_mark_on_the_wall"
|
||||
Poster="https://md.sudovanilla.org/images/wote-p-v.jpeg"
|
||||
Video="https://ocean.sudovanilla.org/media/videos/The%20Mark%20On%20The%20Wall/1080.mp4"
|
||||
Audio="https://ocean.sudovanilla.org/media/videos/The%20Mark%20On%20The%20Wall/audio.mp4"
|
||||
VideoAttributes="muted"
|
||||
AudioAttributes=""
|
||||
/>
|
||||
`}/>
|
||||
|
||||
**Local**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue