Developer Manual
================

Note: You find a developer manual for raptus.article at 
`raptus.article.core <http://pypi.python.org/pypi/raptus.article.core>`_.
Please have look there if you need more information.

Code overview
=============

Components
----------

plone.abovecontentbody
``````````````````````
- raptus.article.media.video
- raptus.article.media.audio

Interfaces
----------

file: interfaces.py
```````````````````
- IVideos (Provider for video files and embedded ones contained in an article)
    - getVideos - method (Returns a list of video files and embedded ones (catalog brains))

- ITeaser (Handler for image thumbing of videos)
    - getTeaserURL - method (Returns the url to the teaser image in the specific size.
      The sizes are taken from the raptus_article properties sheet and are formed by the 
      following name schema: media_<size>_(height|width)
    - getTeaser - method (Returns the html tag of the teaser image in the specific size. The sizes are 
      taken from the raptus_article properties sheet and are formed by the following name schema:
      media_<size>_(height|width)
    - getSize - method (Returns the width and height registered for the specific size)

- IVideo (Marker interface for the video content type)
        
- IVideoEmbed (Marker interface for the video embed content type)
    
- IVideoEmbedder (Provides html for different video providers)
    - matches - method (Whether the embeder matches the adapted obj or not)
    - getEmbedCode - method (Returns the html)

- IAudios (Provider for audio files contained in an article)
    - getAudios - method (Returns a list of audio files (catalog brains))

- IAudio (Marker interface for the audio content type)
