Skip to content

limbo-works/Limbo.Umbraco.Video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Limbo Video

GitHub license NuGet NuGet Umbraco Marketplace Limbo.Umbraco.Video at packages.limbo.works

This package doesn't really do much on it's own, but provides common functionality for:

License: MIT License
Umbraco: Umbraco 13 (and Umbraco 10-12 and Umbraco 9)
Target Framework: .NET 8 (and .NET 6 and .NET 5)



Installation

Umbraco 13

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

Umbraco 10, 11 and 12

For the Umbraco 10-12 version of this package, see the v2/main branch.

Umbraco 9

For the Umbraco 9 version of this package, see the v1/main branch.



Documentation

Angular directives

Duration

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.