|
@@ -4,8 +4,23 @@ using System.Text;
|
|
|
|
|
|
namespace InABox.Core
|
|
|
{
|
|
|
+
|
|
|
public class DFLayoutVideoFieldProperties : DFLayoutFieldProperties<byte[]>
|
|
|
{
|
|
|
+ public enum VideoQuality
|
|
|
+ {
|
|
|
+ Default,
|
|
|
+ Low,
|
|
|
+ Medium,
|
|
|
+ High
|
|
|
+ }
|
|
|
+
|
|
|
+ [IntegerEditor(ToolTip = "Maximum video length (sec)")]
|
|
|
+ public int MaximumVideoLength { get; set; }
|
|
|
+
|
|
|
+ [EnumLookupEditor(typeof(VideoQuality))]
|
|
|
+ public VideoQuality Quality { get; set; } = VideoQuality.Low;
|
|
|
+
|
|
|
public override string FormatValue(object? value)
|
|
|
{
|
|
|
return value != null ? "Yes" : "";
|