services:
    _defaults:
        autowire: false
        autoconfigure: false
        public: false

    Claroline\AudioPlayerBundle\Listener\ResourceAudioListener:
        arguments:
            - '@Claroline\AudioPlayerBundle\Manager\AudioPlayerManager'
            - '@Claroline\AppBundle\API\SerializerProvider'
            - '@security.token_storage'
        tags:
            - { name: kernel.event_listener, event: file.audio.load, method: onResourceAudioLoad }
            - { name: kernel.event_listener, event: resource.file.deserialize, method: onResourceAudioDeserialize }
