Media Content

Attribute Type Documentation Default Value
Required urls * :list Media URL list (images or videos)
thumbnail_url :string Image thumbnail to display
class :string Extends the video tag classes
empty_wrapper_class :string Extends the empty video wrapper class
placeholder_class :string Extends the placeholder class
loop :boolean Option to enable loop playing false
time_phx_event :string Phx event used for time update events
current_video_phx_event :string Phx event used to receive current playing video
show_controls :boolean Option to toggle video controls true
random_attr :string Option to randomize url
autoplay :boolean Autoplay video option. true
enable_mouse_events :boolean Option to toggle play/pause video on mouse enter events false
rest :global