protected function addYoutubeForm(FormBuilderInterface $builder)
    {

        $builder
            ->add('youtubeVideoId', 'oo_video', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.video_id',
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeWidth', 'text', array(
                'empty_data' => '480',
                'label' => 'open_orchestra_backoffice.block.video.youtube.width',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeHeight', 'text', array(
                'empty_data' => '269',
                'label' => 'open_orchestra_backoffice.block.video.youtube.height',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeAutoplay', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.autoplay',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeFs', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.fs',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeHl', 'orchestra_language', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.hl',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
            ))
            ->add('youtubeShowinfo', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.showinfo',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeRel', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.rel.title',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array('data-video-type' => 'youtube', 'help_text' => 'open_orchestra_backoffice.block.video.youtube.rel.helper'),
            ))
            ->add('youtubeDisablekb', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.disablekb',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeLoop', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.loop',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeControls', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.controls',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeTheme', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.theme',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeColor', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.color',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
        ;
    }
protected function addYoutubeForm(FormBuilderInterface $builder)
    {

        $builder
            ->add('youtubeVideoId', 'oo_video', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.video_id',
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeWidth', 'text', array(
                'empty_data' => '480',
                'label' => 'open_orchestra_backoffice.block.video.youtube.width',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeHeight', 'text', array(
                'empty_data' => '269',
                'label' => 'open_orchestra_backoffice.block.video.youtube.height',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeAutoplay', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.autoplay',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeFs', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.fs',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeHl', 'orchestra_language', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.hl',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
            ))
            ->add('youtubeShowinfo', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.showinfo',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeRel', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.rel.title',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array('data-video-type' => 'youtube', 'help_text' => 'open_orchestra_backoffice.block.video.youtube.rel.helper'),
            ))
            ->add('youtubeDisablekb', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.disablekb',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeLoop', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.loop',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeControls', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.controls',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeTheme', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.theme',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
            ->add('youtubeColor', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.youtube.color',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'youtube'
                )
            ))
        ;
    }
protected function addYoutubeForm ( FormBuilderInterface $ builder ) { $ builder -> add ( 'youtubeVideoId' , 'oo_video' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.video_id' , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) -> add ( 'youtubeWidth' , 'text' , array ( 'empty_data' => '480' , 'label' => 'open_orchestra_backoffice.block.video.youtube.width' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) -> add ( 'youtubeHeight' , 'text' , array ( 'empty_data' => '269' , 'label' => 'open_orchestra_backoffice.block.video.youtube.height' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) -> add ( 'youtubeAutoplay' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.autoplay' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) -> add ( 'youtubeFs' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.fs' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) -> add ( 'youtubeHl' , 'orchestra_language' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.hl' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , ) ) -> add ( 'youtubeShowinfo' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.showinfo' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) -> add ( 'youtubeRel' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.rel.title' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' , 'help_text' => 'open_orchestra_backoffice.block.video.youtube.rel.helper' ) , ) ) -> add ( 'youtubeDisablekb' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.disablekb' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) -> add ( 'youtubeLoop' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.loop' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) -> add ( 'youtubeControls' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.controls' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) -> add ( 'youtubeTheme' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.theme' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) -> add ( 'youtubeColor' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.youtube.color' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'youtube' ) ) ) ; }
Add to the video form the youtube part

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