Short Video Custom Code
This section focuses on embedding short videos and configuring custom behaviors using the available properties.
Properties
1. video-id
(Required)
- Description: The unique identifier for the video you want to embed.
- Type:
String
- Example:
video-id="ec1632ca-97be-4fec-b167-e34512abb21a"
2. enable-fullscreen
(Optional)
- Description: Controls whether the fullscreen mode is displayed on the video player.
- Type: Boolean
- Default: true
enable-fullscreen="false"
Example
Disabling Fullscreen: To disable the fullscreen functionality on the embedded video player, you can use the enable-fullscreen property. Setting this property to false will hide the fullscreen button, preventing users from entering fullscreen mode.
<video-embed class="lora-embedded-video loaded"
video-id="ec1632ca-97be-4fec-b167-e34512abb21a"
enable-fullscreen="false">
</video-embed>