Last active
May 19, 2017 18:25
-
-
Save 5up3rman/5a3f84989e88be51c06d86b155423e0a to your computer and use it in GitHub Desktop.
Live Photo Glass Object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Sitecore.Globalization; | |
namespace Paragon.Foundation.LivePhoto.GlassFieldObjects | |
{ | |
/// <summary> | |
/// Based on Glass.Mapper.Sc.Fields.Image | |
/// </summary> | |
[Serializable] | |
public class LivePhotoGlassObject : ILivePhotoGlassObject | |
{ | |
public int Height { get; set; } | |
public int Width { get; set; } | |
public Guid MediaId { get; set; } | |
public Guid MovieId { get; set; } | |
public Language Language { get; set; } | |
public string DataLivePhoto { get;set; } = "data-live-photo"; | |
public string DataPhotoSrc { get; set; } | |
public string DataVideoSrc { get; set; } | |
public string InlineStyle { get; set; } | |
public string DataPhotoTime { get; set; } | |
public string DataProactivelyLoadsVideo { get; set; } | |
public string DataShowsNativeControls { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment