MediaPlayer Module
The Confinity MediaPlayer Module allows you to simply add Videos and Audio files to your website. It comes with a Confinity App for centralized management of your video and audio files and a page component which allows you to add a video on your page.
Installation
Add the Module to your Project
You can install the MediaPlayer module from NuGet with
dotnet add package Confinity.MediaPlayer
In your Startup.cs you can now register the module with the module builder by calling the AddModule method with MediaPlayerModule. See Modules documentation for more information.
Configuration
The MediaPlayer Module can be configured using the options pattern. The corresponding options class is Confinity.MediaPlayer.MediaPlayerOptions and it will automatically try to read your configuration from your appsettings.json from the ConfinityMediaPlayer section.
Example
"ConfinityMediaPlayer": {
"PreviewImageSizes": {
"lg": "920px"
}
}