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 13 (and Umbraco 10-12 and Umbraco 9) |
Target Framework: | .NET 8 (and .NET 6 and .NET 5) |
The package is only available via NuGet. To install the package, you can use either the .NET CLI:
dotnet add package Limbo.Umbraco.Video --version 13.0.0
or the NuGet Package Manager:
Install-Package Limbo.Umbraco.Video -Version 13.0.0
For the Umbraco 10-12 version of this package, see the v2/main
branch.
For the Umbraco 9 version of this package, see the v1/main
branch.
The package adds an Angular directive 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.