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

    Claroline\VideoPlayerBundle\Listener\File\Type\VideoListener:
        arguments:
            - '@security.token_storage'
            - '@Claroline\AppBundle\API\SerializerProvider'
            - '@Claroline\VideoPlayerBundle\Manager\EvaluationManager'
        tags:
            - { name: kernel.event_listener, event: file.video.load, method: onLoad }

    Claroline\VideoPlayerBundle\Listener\PluginListener:
        arguments:
            - '@twig'
        tags:
            - { name: kernel.event_listener, event: layout.inject.javascript, method: onInjectJs }
