This package doesn't really do much on it's own, but provides common functionality for:
- Limbo.Umbraco.DreamBroker
- Limbo.Umbraco.Skyfish
- Limbo.Umbraco.TwentyThree
- Limbo.Umbraco.Vimeo
- Limbo.Umbraco.YouTube
License: | MIT License |
Umbraco: | Umbraco 10, 11 and 12 (and Umbraco 9) |
Target Framework: | .NET 6 (and .NET 5) |
The Umbraco 10+ version of this package is only available via NuGet. To install the package, you can use either the .NET CLI:
dotnet add package Limbo.Umbraco.Video --version 2.0.7
or the NuGet Package Manager:
Install-Package Limbo.Umbraco.Video -Version 2.0.7
The package adds for showing a video duration in a user friendly way. It may be used like:
<limbo-video-duration value="video.duration"></limbo-video-duration>
The duration may be specified as seconds or formatted as an ISO 8601 duration (eg. P1DT2H30M
). Since the use case is video durations, the seconds will be split up into hours, minutes and seconds, but not days, months etc. P1DT2H30M
will be formatted as 26 hours and 30 minutes
.
The values are localized, but for now only with support for English and Danish.