Skip to content

Commit

Permalink
docs: add visionOS platform (#3477)
Browse files Browse the repository at this point in the history
* docs: add visionOS platform

* update docs
  • Loading branch information
KrzysztofMoch authored Jan 16, 2024
1 parent cf3ebb7 commit 53359a2
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 55 deletions.
2 changes: 2 additions & 0 deletions docs/pages/component/drm.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# DRM

> **Note:** DRM is not supported on visionOS yet.
## Provide DRM data (only tested with http/https assets)

You can provide some configuration to allow DRM playback.
Expand Down
22 changes: 11 additions & 11 deletions docs/pages/component/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ This page shows the list of available callbacks to handle player notifications
| [onBandwidthUpdate](#onbandwidthupdate) | Android |
| [onBuffer](#onbuffer) | Android, iOS |
| [onEnd](#onend) | All |
| [onError](#onerror) | Android, iOS, Windows UWP |
| [onError](#onerror) | All |
| [onExternalPlaybackChange](#onexternalplaybackchange) | iOS |
| [onFullscreenPlayerWillPresent](#onfullscreenplayerwillpresent) | Android, iOS |
| [onFullscreenPlayerDidPresent](#onfullscreenplayerdidpresent) | Android, iOS |
| [onFullscreenPlayerWillDismiss](#onfullscreenplayerwilldismiss) | Android, iOS |
| [onFullscreenPlayerDidDismiss](#onfullscreenplayerdiddismiss) | Android, iOS |
| [onFullscreenPlayerWillPresent](#onfullscreenplayerwillpresent) | Android, iOS, visionOS |
| [onFullscreenPlayerDidPresent](#onfullscreenplayerdidpresent) | Android, iOS, visionOS |
| [onFullscreenPlayerWillDismiss](#onfullscreenplayerwilldismiss) | Android, iOS, visionOS |
| [onFullscreenPlayerDidDismiss](#onfullscreenplayerdiddismiss) | Android, iOS, visionOS |
| [onLoad](#onload) | All |
| [onLoadStart](#onloadstart) | All |
| [onPictureInPictureStatusChanged](#onpictureinpicturestatuschanged) | iOS |
| [onPlaybackRateChange](#onplaybackratechange) | All |
| [onPlaybackStateChanged](#onplaybackstatechanged) | Android, iOS |
| [onPlaybackStateChanged](#onplaybackstatechanged) | Android, iOS, visionOS |
| [onProgress](#onprogress) | All |
| [onReadyForDisplay](#onreadyfordisplay) | Android, iOS, Web |
| [onReadyForDisplay](#onreadyfordisplay) | Android, iOS |
| [onReceiveAdEvent](#onreceiveadevent) | Android, iOS |
| [onRestoreUserInterfaceForPictureInPictureStop](#onrestoreuserinterfaceforpictureinpicturestop) | iOS |
| [onSeek](#onseek) | Android, iOS, Windows UWP |
| [onTimedMetadata](#ontimedmetadata) | Android, iOS |
| [onRestoreUserInterfaceForPictureInPictureStop](#onrestoreuserinterfaceforpictureinpicturestop) | iOS, visionOS |
| [onSeek](#onseek) | All |
| [onTimedMetadata](#ontimedmetadata) | Android, iOS, visionOS |
| [onTextTracks](#ontexttracks) | Android |
| [onVideoTracks](#onvideotracks) | Android |
| [onVolumeChange](#onvolumechange) | Android, iOS |
| [onVolumeChange](#onvolumechange) | Android, iOS, visionOS |


## Details
Expand Down
18 changes: 9 additions & 9 deletions docs/pages/component/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ This page shows the list of available methods

## Component methods

| Name |Platforms Support |
|-------------------------------------------------------------------------------------------|-------------------|
|[dismissFullscreenPlayer](#dismissfullscreenplayer) |Android, iOS |
|[presentFullscreenPlayer](#presentfullscreenplayer) |Android, iOS |
|[pause](#pause) |Android, iOS |
|[play](#play) |Android, iOS |
|[save](#save) |iOS |
|[restoreUserInterfaceForPictureInPictureStop](#restoreuserinterfaceforpictureinpicturestop)|iOS |
|[seek](#seek) |All |
| Name |Platforms Support |
|-------------------------------------------------------------------------------------------|-----------------------|
|[dismissFullscreenPlayer](#dismissfullscreenplayer) |Android, iOS |
|[presentFullscreenPlayer](#presentfullscreenplayer) |Android, iOS |
|[pause](#pause) |Android, iOS |
|[play](#play) |Android, iOS |
|[save](#save) |iOS |
|[restoreUserInterfaceForPictureInPictureStop](#restoreuserinterfaceforpictureinpicturestop)|iOS |
|[seek](#seek) |All |

### `dismissFullscreenPlayer`
`dismissFullscreenPlayer(): Promise<void>`
Expand Down
Loading

0 comments on commit 53359a2

Please sign in to comment.