Last active
May 18, 2017 20:52
-
-
Save 5up3rman/bd5154d6f438eba0d974b429dde3f9a5 to your computer and use it in GitHub Desktop.
Integrating Apple's Live Photo API into Sitecore
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
<?xml version="1.0"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<controlSources> | |
<source mode="on" namespace="Paragon.Foundation.LivePhoto.ContentEditor.Fields" assembly="Paragon.Foundation.LivePhoto" prefix="paragon" /> | |
</controlSources> | |
<pipelines> | |
<renderField> | |
<processor type="Paragon.Foundation.LivePhoto.Pipelines.RenderField.GetLivePhotoValue,Paragon.Foundation.LivePhoto" | |
patch:after="processor[@type='Sitecore.Pipelines.RenderField.GetImageFieldValue, Sitecore.Kernel']" /> | |
</renderField> | |
</pipelines> | |
<commands> | |
<command name="paragon:ChooseMovie" type="Paragon.Foundation.LivePhoto.Commands.WebEdit.ChooseLivePhotoMovie, Paragon.Foundation.LivePhoto" /> | |
<command name="paragon:SetLivePhotoProperties" type="Paragon.Foundation.LivePhoto.Commands.WebEdit.SetLivePhotoProperties, Paragon.Foundation.LivePhoto" /> | |
<command name="paragon:SetImageProperties" type="Paragon.Foundation.LivePhoto.Commands.WebEdit.SetImageProperties, Paragon.Foundation.LivePhoto" /> | |
</commands> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment