Skip to content

Instantly share code, notes, and snippets.

@5up3rman
Last active May 18, 2017 20:55
Show Gist options
  • Save 5up3rman/312cc0ab06576f0f7e0db23666206d6c to your computer and use it in GitHub Desktop.
Save 5up3rman/312cc0ab06576f0f7e0db23666206d6c to your computer and use it in GitHub Desktop.
Live Photo + Sitecore
<?xml version="1.0" encoding="UTF-8" ?>
<xamlControls
xmlns:x="http://www.sitecore.net/xaml"
xmlns:ajax="http://www.sitecore.net/ajax"
xmlns:rest="http://www.sitecore.net/rest"
xmlns:javascript="http://www.sitecore.net/javascript"
xmlns:r="http://www.sitecore.net/renderings"
xmlns:xmlcontrol="http://www.sitecore.net/xmlcontrols"
xmlns:p="http://schemas.sitecore.net/Visual-Studio-Intellisense"
xmlns:asp="http://www.sitecore.net/microsoft/webcontrols"
xmlns:html="http://www.sitecore.net/microsoft/htmlcontrols"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Sitecore.Shell.Applications.Media.ShowLivePhoto x:inherits="Paragon.Foundation.LivePhoto.Shell.Applications.Media.LivePhoto.ShowLivePhotoPage,Paragon.Foundation.LivePhoto">
<Sitecore.Controls.DialogPage Header="Live Photo Demo" Icon="Applications/32x32/photo_scenery.png" Text="See the Live Photo Demo." runat="server">
<AjaxScriptManager runat="server"/>
<ContinuationManager runat="server" />
<Script runat="server" type="text/javascript" language="javascript" x:placeholder="Scripts" Src="https://cdn.apple-livephotoskit.com/lpk/1/livephotoskit.js" />
<Border runat="server" GridPanel.VAlign="top">
<asp:Literal ID="LivePhotoContainer" runat="server" />
</Border>
<Border runat="server" GridPanel.VAlign="top">
<div>
<asp:CheckBox ID="ProactivelyLoadVideo" runat="server" Checked="true" Text="Proactively Load Video"/>
</div>
<div>
<asp:CheckBox ID="ShowPlaybackControls" runat="server" Checked="true" Text="Show Playback Controls" />
</div>
<div>
<asp:CheckBox ID="ShowPhotoTime" runat="server" Visible="false" Checked="true" Text="Display the Photo's Timestamp."/>
</div>
</Border>
</Sitecore.Controls.DialogPage>
</Sitecore.Shell.Applications.Media.ShowLivePhoto>
</xamlControls>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment