select( 'type',
__('Background Type', 'Avada'),
array('image' => __('Image', 'Avada'), 'self-hosted-video' => __('Self-Hosted Video', 'Avada'), 'youtube' => __('Youtube', 'Avada'), 'vimeo' => __('Vimeo', 'Avada')),
__('Select an image or video slide. If using an image, please select the image in the "Featured Image" box on the right hand side.', 'Avada')
);
?>
text( 'youtube_id',
__('Youtube Video ID', 'Avada'),
__('For example the Video ID for http://www.youtube.com/LOfeCR7KqUs is LOfeCR7KqUs', 'Avada')
);
$this->text( 'vimeo_id',
__('Vimeo Video ID', 'Avada'),
__('For example the Video ID for http://vimeo.com/75230326 is 75230326', 'Avada')
);
$this->upload( 'webm', __('Video WebM Upload', 'Avada'), __('Video must be in a 16:9 aspect ratio. Add your WebM video file. WebM and MP4 format must be included to render your video with cross browser compatibility. OGV is optional.', 'Avada') );
$this->upload( 'mp4', __('Video MP4 Upload', 'Avada'), __('Video must be in a 16:9 aspect ratio. Add your MP4 video file. MP4 and WebM format must be included to render your video with cross browser compatibility. OGV is optional.', 'Avada') );
$this->upload( 'ogv', __('Video OGV Upload', 'Avada'), __('Add your OGV video file. This is optional.', 'Avada') );
$this->upload( 'preview_image', __('Video Preview Image', 'Avada'), __('IMPORTANT: This field must be used for self hosted videos. Self hosted videos do not work correctly on mobile devices. The preview image will be seen in place of your video on older browsers or mobile devices.', 'Avada') );
$this->text( 'video_bg_color',
__('Video Color Overlay', 'Avada'),
__('Select a color to show over the video as an overlay. Hex color code, ex: #fff', 'Avada')
);
$this->select( 'mute_video',
__('Mute Video', 'Avada'),
array('yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')),
''
);
$this->select( 'autoplay_video',
__('Autoplay Video', 'Avada'),
array('yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')),
''
);
$this->select( 'loop_video',
__('Loop Video', 'Avada'),
array('yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')),
''
);
$this->select( 'hide_video_controls',
__('Hide Video Controls', 'Avada'),
array('yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')),
__('If this is set to yes, then autoplay must be enabled for the video to work.', 'Avada')
);
?>
select( 'content_alignment',
__('Content Alignment', 'Avada'),
array('left' => __('Left', 'Avada'), 'center' => __('Center', 'Avada'), 'right' => __('Right', 'Avada')),
__('Select how the heading, caption and buttons will be aligned.', 'Avada')
);
$this->text( 'heading',
__('Heading', 'Avada'),
__('Enter the text heading for your slide.', 'Avada')
);
$this->text( 'heading_font_size',
__('Heading Font Size', 'Avada'),
__('Enter heading font size without px unit. In pixels, ex: 50 instead of 50px.
Default: 60', 'Avada')
);
$this->text( 'heading_color',
__('Heading Color', 'Avada'),
__('Select a color for the heading font. Hex color code, ex: #fff.
Default: #fff', 'Avada')
);
$this->select( 'heading_bg',
__('Heading Background', 'Avada'),
array('yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')),
__('Select this option if you would like a semi-transparent background behind your heading.', 'Avada')
);
$this->text( 'heading_bg_color',
__('Heading Background Color', 'Avada'),
__('Select a color for the heading background. Hex color code, ex: #000.
Default: #000', 'Avada')
);
$this->text( 'caption',
__('Caption', 'Avada'),
__('Enter the text caption for your slide.', 'Avada')
);
$this->text( 'caption_font_size',
__('Caption Font Size', 'Avada'),
__('Enter caption font size without px unit. In pixels, ex: 24 instead of 24px.
Default: 24', 'Avada')
);
$this->text( 'caption_color',
__('Caption Color', 'Avada'),
__('Select a color for the caption font. Hex color code, ex: #fff.
Default: #fff', 'Avada')
);
$this->select( 'caption_bg',
__('Caption Background', 'Avada'),
array('yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')),
__('Select this option if you would like a semi-transparent background behind your caption.', 'Avada')
);
$this->text( 'caption_bg_color',
__('Caption Background Color', 'Avada'),
__('Select a color for the heading background. Hex color code, ex: #000.
Default: #000', 'Avada')
);
?>
select( 'link_type',
__('Slide Link Type', 'Avada'),
array('button' => __('Button', 'Avada'), 'full' => __('Full Slide', 'Avada')),
__('Select how the slide will link.', 'Avada')
);
$this->text( 'slide_link',
__('Slide Link', 'Avada'),
__('Please enter your URL that will be used to link the full slide.', 'Avada')
);
$this->select( 'slide_target',
__('Open Slide Link In New Window', 'Avada'),
array('yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada'))
);
$this->textarea('button_1',
sprintf(__('Button #1', 'Avada') . '%s', '
' . __('Click here to view button option descriptions.', 'Avada') . ''),
__('Adjust the button shortcode parameters for the first button.', 'Avada'),
'[button link="" color="default" size="" type="" shape="" target="_self" title="" gradient_colors="|" gradient_hover_colors="|" accent_color="" accent_hover_color="" bevel_color="" border_width="1px" shadow="" icon="" icon_divider="yes" icon_position="left" modal="" animation_type="0" animation_direction="down" animation_speed="0.1" class="" id=""]Button Text[/button]'
);
$this->textarea('button_2',
sprintf(__('Button #2', 'Avada') . '%s', '
' . __('Click here to view button option descriptions.', 'Avada') . ''),
__('Adjust the button shortcode parameters for the second button.', 'Avada'),
'[button link="" color="default" size="" type="" shape="" target="_self" title="" gradient_colors="|" gradient_hover_colors="|" accent_color="" accent_hover_color="" bevel_color="" border_width="1px" shadow="" icon="" icon_divider="yes" icon_position="left" modal="" animation_type="0" animation_direction="down" animation_speed="0.1" class="" id=""]Button Text[/button]'
);
?>