protected function addDailyMotionForm($builder)
    {
        $builder
            ->add('dailymotionVideoId', 'oo_video', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.video_id',
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionWidth', 'text', array(
                'empty_data' => '480',
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.width',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionHeight', 'text', array(
                'empty_data' => '269',
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.height',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionQuality', 'choice', array(
                'choices' => array('240' => '240', '380' => '380', '480' => '480', '720' => '720', '1080' => '1080'),
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.quality',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionAutoplay', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.autoplay',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionInfo', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.info',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionRelated', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.related',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionChromeless', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.chromeless',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionLogo', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.logo',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionBackground', 'oo_color_picker', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.background',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionForeground', 'oo_color_picker', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.foreground',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionHighlight', 'oo_color_picker', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.highlight',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
        ;
    }
protected function addDailyMotionForm($builder)
    {
        $builder
            ->add('dailymotionVideoId', 'oo_video', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.video_id',
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionWidth', 'text', array(
                'empty_data' => '480',
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.width',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionHeight', 'text', array(
                'empty_data' => '269',
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.height',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionQuality', 'choice', array(
                'choices' => array('240' => '240', '380' => '380', '480' => '480', '720' => '720', '1080' => '1080'),
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.quality',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionAutoplay', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.autoplay',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionInfo', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.info',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionRelated', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.related',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionChromeless', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.chromeless',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionLogo', 'checkbox', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.logo',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionBackground', 'oo_color_picker', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.background',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionForeground', 'oo_color_picker', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.foreground',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
            ->add('dailymotionHighlight', 'oo_color_picker', array(
                'label' => 'open_orchestra_backoffice.block.video.dailymotion.highlight',
                'required'  => false,
                'group_id' => 'data',
                'sub_group_id' => 'content',
                'attr' => array(
                    'data-video-type' => 'dailymotion'
                )
            ))
        ;
    }
protected function addDailyMotionForm ( $ builder ) { $ builder -> add ( 'dailymotionVideoId' , 'oo_video' , array ( 'label' => 'open_orchestra_backoffice.block.video.dailymotion.video_id' , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionWidth' , 'text' , array ( 'empty_data' => '480' , 'label' => 'open_orchestra_backoffice.block.video.dailymotion.width' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionHeight' , 'text' , array ( 'empty_data' => '269' , 'label' => 'open_orchestra_backoffice.block.video.dailymotion.height' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionQuality' , 'choice' , array ( 'choices' => array ( '240' => '240' , '380' => '380' , '480' => '480' , '720' => '720' , '1080' => '1080' ) , 'label' => 'open_orchestra_backoffice.block.video.dailymotion.quality' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionAutoplay' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.dailymotion.autoplay' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionInfo' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.dailymotion.info' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionRelated' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.dailymotion.related' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionChromeless' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.dailymotion.chromeless' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionLogo' , 'checkbox' , array ( 'label' => 'open_orchestra_backoffice.block.video.dailymotion.logo' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionBackground' , 'oo_color_picker' , array ( 'label' => 'open_orchestra_backoffice.block.video.dailymotion.background' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionForeground' , 'oo_color_picker' , array ( 'label' => 'open_orchestra_backoffice.block.video.dailymotion.foreground' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) -> add ( 'dailymotionHighlight' , 'oo_color_picker' , array ( 'label' => 'open_orchestra_backoffice.block.video.dailymotion.highlight' , 'required' => false , 'group_id' => 'data' , 'sub_group_id' => 'content' , 'attr' => array ( 'data-video-type' => 'dailymotion' ) ) ) ; }
Add to the video form the dailymotion part

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