protected function addVimeoForm($builder)
    {
        $builder
            ->add('vimeoVideoId', 'oo_video', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.video_id',
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoWidth', 'text', array(
                'empty_data' => '480',
                'label' => 'open_orchestra_backoffice.block.video.vimeo.width',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoHeight', 'text', array(
                'empty_data' => '269',
                'label' => 'open_orchestra_backoffice.block.video.vimeo.height',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoColor', 'oo_color_picker', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.color',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo',
                    'class' => 'colorpicker'
                )
            ))
            ->add('vimeoAutoplay', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.autoplay',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoFullscreen', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.fullscreen',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoTitle', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.title_video',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoByline', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.byline',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoPortrait', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.portrait',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoLoop', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.loop',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoBadge', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.badge',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
        ;
    }
protected function addVimeoForm($builder)
    {
        $builder
            ->add('vimeoVideoId', 'oo_video', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.video_id',
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoWidth', 'text', array(
                'empty_data' => '480',
                'label' => 'open_orchestra_backoffice.block.video.vimeo.width',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoHeight', 'text', array(
                'empty_data' => '269',
                'label' => 'open_orchestra_backoffice.block.video.vimeo.height',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoColor', 'oo_color_picker', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.color',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo',
                    'class' => 'colorpicker'
                )
            ))
            ->add('vimeoAutoplay', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.autoplay',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoFullscreen', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.fullscreen',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoTitle', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.title_video',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoByline', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.byline',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoPortrait', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.portrait',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoLoop', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.loop',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
            ->add('vimeoBadge', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.vimeo.badge',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'vimeo'
                )
            ))
        ;
    }
protected function addVimeoForm ( $ builder ) { $ builder -> add ( 'vimeoVideoId' , 'oo_video' , array ( 'label' => 'open_orchestra_backoffice.block.video.vimeo.video_id' , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' ) ) ) -> add ( 'vimeoWidth' , 'text' , array ( 'empty_data' => '480' , 'label' => 'open_orchestra_backoffice.block.video.vimeo.width' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' ) ) ) -> add ( 'vimeoHeight' , 'text' , array ( 'empty_data' => '269' , 'label' => 'open_orchestra_backoffice.block.video.vimeo.height' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' ) ) ) -> add ( 'vimeoColor' , 'oo_color_picker' , array ( 'label' => 'open_orchestra_backoffice.block.video.vimeo.color' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' , 'class' => 'colorpicker' ) ) ) -> add ( 'vimeoAutoplay' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.vimeo.autoplay' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' ) ) ) -> add ( 'vimeoFullscreen' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.vimeo.fullscreen' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' ) ) ) -> add ( 'vimeoTitle' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.vimeo.title_video' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' ) ) ) -> add ( 'vimeoByline' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.vimeo.byline' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' ) ) ) -> add ( 'vimeoPortrait' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.vimeo.portrait' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' ) ) ) -> add ( 'vimeoLoop' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.vimeo.loop' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' ) ) ) -> add ( 'vimeoBadge' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.vimeo.badge' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'vimeo' ) ) ) ; }
Add to the video form the vimeo part

@param FormBuilderInterface $builder
Add to the video form the vimeo part