Skip to content

Commit

Permalink
docs: add note about multiple ids to video player
Browse files Browse the repository at this point in the history
  • Loading branch information
Baroshem committed Jun 14, 2024
1 parent 56a4715 commit dd79eb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/content/2.components/CldVideoPlayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ The basic required props include `width`, `height`, and `src`:

:cld-video-player{src="videos/mountain-stars" width="900" height="900" style="aspect-ratio: 1620 / 1080" id="1"}

::callout{icon="i-heroicons-exclamation-triangle-20-solid" color="amber"}
Note: If you wish to display several video players with the same media on the same page (as we did in the documentation below), make sure to pass unique `id` property.
::

## Customization

You can further take advantage of features like customizing your player:
Expand Down

0 comments on commit dd79eb0

Please sign in to comment.