Skip to main content

Sharing Configuration

The Lura Player UI can display in-video sharing actions through the Controls.Sharing configuration. Use it to define the link, description, poster image, and social platforms exposed by the sharing UI.

AttributeTypeDescription
UrlstringURL to create the sharing link.
DescriptionstringDescription for social sharing.
PosterUrlstringPoster URL for social sharing.
SocialsList<string>Social sharing platforms to enable.
Sharing Example
var config = new Configuration
{
Controls = new ControlsConfiguration
{
Sharing = new ControlsSharingConfiguration
{
Url = "https://example.com/watch/asset-id",
Description = "Example video description",
PosterUrl = "https://example.com/poster.jpg",
Socials = new List<string> { "facebook", "whatsapp", "x", "pinterest", "reddit", "tumblr" }
}
}
};

await player.SetConfig(config);