When working with video assets, you have 3 options for playback. By default, it will be streamed from Digizuite DAM through EpiserverOptimizely.
VideoPlaybackType.Redirect
Will redirect the episerver Optimizely url to digizuite.VideoPlaybackType.Streaming (default)
Will stream from Digizuite DAM through EpiserverOptimizely.VideoPlaybackType.Cdn
Will redirect the episerver Optimizely url to the cdn url that has been configure in VideoCdnBaseUrl
.
Her is an example how to override the default settings:
Code Block | ||
---|---|---|
| ||
services.AddDigizuiteDAM( |
...
|
...
new Digizuite.Optimizely.Configuration.DAMIntegrationConfiguration() |
...
{ |
...
|
...
|
...
Connection = new Digizuite.Models.DigizuiteConfiguration() |
...
|
...
{
|
...
BaseUrl = new Uri(" |
...
x"), |
...
SystemUsername = " |
...
x", |
...
|
...
SystemPassword = " |
...
x", |
...
|
...
ConfigVersionId = " |
...
x" |
...
}, VideoPlaybackType = |
...
Enums.VideoPlaybackType.Redirect }); |