.. _group__a3d__pdf__richmediaannot__module:

#################
Rich Media Module
#################

Adds rich media (video, sound) in the page. 

This module describes the functions and structures that allow you to add rich medias in the page. A rich media is a video or a sound. Supported file formats for video are : QuickTime Movie (.mov) ; MPEG (.mp4, .m4v) ; 3GPP Movie (.3gp, .3g2) Different skins can be selected to control the video player. Supported file formats for audio are : mp3 

**Parameters**


   **pDoc**\ : The Document object to work with. 

   **pRichMediaAnnotData**\ : The RichMedia Annot parameters. 

   **pcFileName**\ : The file name of the rich media input file. The file format is deducted from file extension. Supported file formats for video are : QuickTime Movie (.mov) ; MPEG (.mp4, .m4v) ; 3GPP Movie (.3gp, .3g2). Supported file formats for audio are : mp3 

   **ppRichMediaAnnot**\ : The RichMedia Annot object created.


**Returns**


   A3D_SUCCESS in case of success or an error code


.. rst-class:: kind-group kind-record

.. rubric:: Structures
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:struct:`~A3DPDFRichMediaAnnotData`

.. rst-class:: kind-group kind-enumeration

.. rubric:: Enumerations
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:enum:`~A3DPDFEPlaybackControlsSkin`

.. rst-class:: kind-group kind-function

.. rubric:: Functions
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:func:`~A3DPDFRichMediaAnnotCreateFromFile`
* :c:func:`~A3DPDFPageInsertRichMediaAnnot`

.. toctree::
   :maxdepth: 1
   :hidden:

   ../structures/A3DPDFRichMediaAnnotData
   ../enums/A3DPDFEPlaybackControlsSkin
   ../functions/A3DPDFRichMediaAnnotCreateFromFile
   ../functions/A3DPDFPageInsertRichMediaAnnot


