<configure
    xmlns="http://namespaces.zope.org/zope"
    i18n_domain="untranslated"
    >

  <subscriber
      for="plone.dexterity.interfaces.IDexterityContent
           zope.lifecycleevent.interfaces.IObjectAddedEvent"
      handler=".handlers.content_added_in_workspace"
      />

  <subscriber
      for="plone.dexterity.interfaces.IDexterityContent
           zope.lifecycleevent.interfaces.IObjectModifiedEvent"
      handler=".handlers.content_edited_in_workspace"
      />

  <subscriber
      for="plone.app.contenttypes.interfaces.IFile
           zope.lifecycleevent.interfaces.IObjectAddedEvent"
      handler=".handlers.generate_video_poster"
      />

  <subscriber
      for="plone.app.contenttypes.interfaces.IFile
           zope.lifecycleevent.interfaces.IObjectModifiedEvent"
      handler=".handlers.generate_video_poster"
      />

  <subscriber
      for="plone.app.contenttypes.interfaces.ILink
           zope.lifecycleevent.interfaces.IObjectAddedEvent"
      handler=".handlers.video_link_lead_image"
      />

  <subscriber
      for="plone.app.contenttypes.interfaces.ILink
           zope.lifecycleevent.interfaces.IObjectModifiedEvent"
      handler=".handlers.video_link_lead_image"
      />

</configure>
