Releases: limbo-works/Limbo.Umbraco.TwentyThree
v13.0.3
New release for Umbraco 13. This release will not work with other versions of Umbraco.
Installation
To install the package via NuGet, you can use either .NET CLI:
dotnet add package Limbo.Umbraco.TwentyThree --version 13.0.3
or the older NuGet Package Manager:
Install-Package Limbo.Umbraco.TwentyThree -Version 13.0.3
Changelog
- Added support for the
loopparameter (see 3bca8e6)
While not directly supported in TwentyThree's own UI, embed codes support aloopparameter which can now be controlled frp, the data type and/or property editor.
v13.0.2
New release for Umbraco 13. This release will not work with other versions of Umbraco.
Installation
To install the package via NuGet, you can use either .NET CLI:
dotnet add package Limbo.Umbraco.TwentyThree --version 13.0.2
or the older NuGet Package Manager:
Install-Package Limbo.Umbraco.TwentyThree -Version 13.0.2
Changelog
-
Updated the
TwentyThreeModelFactory.CreateVideoValuemethod to be virtual (see 9c626a5)
This ensures that the method can be overridden in individual solutions. -
Added
Skybrud.Essentialsas a direct dependency (see edcc661)
Skybrud.Essentialshas been a transient dependency ever since this package was created, but the transient dependency is current an older version, soSkybrud.Essentialshas now been added as a direct dependency to get the newest version. -
Updated the
Skybrud.Social.TwentyThreedependency (see 1231aa4)
The underlying package for communicating with the TwentyThree API has now been updated (read more). -
Added logic for parsing source values (embed or URL) into intermediary video/spot values (see 2f7a752)
Similar to our other video packages, this package now provides functionality to parse an embed code or video URL into a full video object equal to what is saved by the property editor. This is in particular useful for import, migrations and similar. -
Added
Keyproperty toApiSiteclass (see 805adf2)
The API now exposes asite_keyproperty. Among other things, this is now used as part of TwentyThree's app URLs, so it might be useful to store. -
Added tooltips for "When video ends" options (see #5 and 4d81b2d)
The package uses TwentyThree's own wording from a few years back, which could be a bit misleading - e.g. Loop doesn't mean that the video itself will loop. TwentyThree has since changed their labels a bit, but the now longer labels are not a good fit for our UI, so they are now used as tooltips instead. -
Changed album labels to category (see #3 and a30821d)
The TwentyThree app refers to albums as categories, so now the package does as well. -
Added support for new app URLs (see 97b05d5)
TwentyThree has introduced new app URLs using àpp.twentythree.com` instead of the client's own domain. Video URLs using the new format are now supported as well.
v13.0.1
New release for Umbraco 13. This release will not work with other versions of Umbraco.
Installation
To install the package via NuGet, you can use either .NET CLI:
dotnet add package Limbo.Umbraco.TwentyThree --version 13.0.1
or the older NuGet Package Manager:
Install-Package Limbo.Umbraco.TwentyThree -Version 13.0.1
Changelog
-
Introduced model factory for creating video related models (see 343ce0b)
Various models within the package are now initialized via virtual methods in a factory class instead of static factory methods. -
Fixed absolute URL issues with video file URLs (see 343ce0b)
The existing logic didn't correctly calculate the absolute URLs. -
Video width/height fix (see 4f338e5)
Not sure if TwentyThree changed anything, but the implementation was looking forvideo_original_widthandvideo_original_height, while the properties are (now) namedoriginal_widthandoriginal_height. -
Description shown for selected video should be trimmed (see e70b405)
TwentyThree's HTML to text conversion for the video description may lead to excessive leading or trailing whitespace, which is now trimmed when the description is shown in the property editor. -
Introduced new "Hide player" data type option (see cf759ad)
This allows disabling/hiding the player option in the property editor. -
Added video app URL link to the property editor UI (see 05ba656)
Clicking the link will take the user to the TwentyThree control panel for the selected video.
v13.0.0
First release for Umbraco 13. This release will not work with other versions of Umbraco.
Installation
To install the package via NuGet, you can use either .NET CLI:
dotnet add package Limbo.Umbraco.TwentyThree --version 13.0.0
or the older NuGet Package Manager:
Install-Package Limbo.Umbraco.TwentyThree -Version 13.0.0
v2.0.6
Installation
To install the package via NuGet, you can use either .NET CLI:
dotnet add package Limbo.Umbraco.TwentyThree --version 2.0.6
or the older NuGet Package Manager:
Install-Package Limbo.Umbraco.TwentyThree -Version 2.0.6
Changelog
-
Added album search filter in the video overlay (see 1562dfc)
As part of the video overlay for finding videos, it's now possible to limit the displayed videos to a single album. -
Misc UI improvelements (see cabebc4)
This includes showing the video play count and average play time in the property editor, as well as the video play count in the video overlay.
v2.0.5
Installation
To install the package via NuGet, you can use either .NET CLI:
dotnet add package Limbo.Umbraco.TwentyThree --version 2.0.5
or the older NuGet Package Manager:
Install-Package Limbo.Umbraco.TwentyThree -Version 2.0.5
Changelog
-
Changing the
Credentialsproperty toList<T>instead ofIReadOnlyList<T>as .NET 6 won't populate the property if is has a default value (see #1 and 34c6db7)
For thev2.0.4, I made a change to theCredentialsproperty so that the package provides a default value for the property in case no configuration has been added toappsettings.json. If the default value isn't there, and no configuration has been provided, the property value would end up beingnull, which would cause null reference errors throughout the package.Setting a default value therefore seemed to fix the issue. But I might have only tested this in Umbraco 12 (.NET 7), and not in Umbraco 10 (.NET 6), as .NET 6 doesn't seem to support this for properties where the type is an interface like
IList<T>orIReadOnlyList<T>.Therefore, the fix changes the property type to a
List<T>in which case the property is correctly populated in both .NET 6 and .NET 7. -
Updated controller to send photo token to the TwentyThree API (see #2 and e2c281b)
If a token is specified as part of the input (embed code), we should make sure to send that token to the TwentyThree API along with the photo ID. This means that we can fetch information about the photo/video even if the API user doesn't have access to the video.
v2.0.4
Installation
To install the package via NuGet, you can use either .NET CLI:
dotnet add package Limbo.Umbraco.TwentyThree --version 2.0.4
or the older NuGet Package Manager:
Install-Package Limbo.Umbraco.TwentyThree -Version 2.0.4
Changelog
-
Updated the upper bound for the Umbraco dependencies to allow using the package with Umbraco 12 (see 0ee9826)
As Umbraco 12 was released earlier this month, and no changes are required for the package to run on Umbraco 12, the upper bound of the Umbraco dependencies has been raised to allow running on Umbraco 12. -
Updated package manifest filter to set
PackageIdproperty in Umbraco 12 (see 7bf5dcd)
In Umbraco 12, thePackageManifestclas now has aPackageIdproperty to indicate the NuGet ID of a package. As of this release, the package uses reflection to set this property when the package is used with Umbraco 12. -
Fixed
TwentyThreeSettings.Credentialsdefault value (see 475ec4c)
The default value should be an emptyIReadOnlyList<TwentyThreeCredentials>instead ofnull. Otherwise the package will fail in different parts when configuration for the package hasn't been added toappsettings.json. -
Updated the Limbo.Umbraco.Video dependency (see dd142cf)
Might as well reference the newest version.
v2.0.3
Installation
To install the package via NuGet, you can use either .NET CLI:
dotnet add package Limbo.Umbraco.TwentyThree --version 2.0.3
or the older NuGet Package Manager:
Install-Package Limbo.Umbraco.TwentyThree -Version 2.0.3
Changelog
-
Video overlay now shows video descriptions by default (see c66d4d3)
The overlay for selecting a video now shows a description for each video when available. Since descriptions can be quite long, a new Max description length option has been introduced on the content type. -
Misc UI improvements and localization (see 06184d7)
More parts of the property editor and related overlays are now localized and translated to Danish. -
Added support for custom credentials icons (see 303e8fd)
When multiple credentials are configured for the package, the user has to select an account (credentials) before being able to pick a video or spot. With this release, it's now possible to specify an icon for each credentials / account, which will then be shown in the account picker overlay. -
Improved error handling (see 6cd5cc1)
The package is now better at showing error messages to the user, and exception messages written to the Umbraco log now contain a bit more details. -
Added video description to property editor (see c11c95a)
The property editor will now also shown the video's description if available.
v2.0.2
Installation
To install the package via NuGet, you can use either .NET CLI:
dotnet add package Limbo.Umbraco.TwentyThree --version 2.0.2
or the older NuGet Package Manager:
Install-Package Limbo.Umbraco.TwentyThree -Version 2.0.2
Changelog
- Implemented new upload link feature (see 9e8cada)
TwentyThree supports creating an upload page in their end, so this feature adds support for showing a "Upload video" link in the property editor, which after selecting one of the configured accounts, will take the user to the upload page. This feature does not allow uploading videos directly from Umbraco.
v2.0.1
Installation
To install the package via NuGet, you can use either .NET CLI:
dotnet add package Limbo.Umbraco.TwentyThree --version 2.0.1
or the older NuGet Package Manager:
Install-Package Limbo.Umbraco.TwentyThree -Version 2.0.1
Changelog
- Updated the Skybrud.Social.TwentyThree dependency
TheSkybrud.Social.TwentyThreepackage handles the underlying communication with TwentyThree API. The newest version of the package contains a fix since the TwentyThree API is now returning timestamps as floating point numbers instead of integers.