Skip to content

Commit dd79eb0

Browse files
committed
docs: add note about multiple ids to video player
1 parent 56a4715 commit dd79eb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/content/2.components/CldVideoPlayer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ The basic required props include `width`, `height`, and `src`:
1616

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

19+
::callout{icon="i-heroicons-exclamation-triangle-20-solid" color="amber"}
20+
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.
21+
::
22+
1923
## Customization
2024

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

0 commit comments

Comments
 (0)