first commit

This commit is contained in:
2024-10-25 14:16:28 +02:00
commit 925276dbb2
33795 changed files with 4780077 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php if( !defined( 'ABSPATH') ) exit(); ?>
<div id="dialog_copy_move" data-textclose="<?php _e("Close",'revslider')?>" data-textupdate="<?php _e("Do It!",'revslider')?>" title="<?php _e("Copy / move slide",'revslider')?>" style="display:none">
<br>
<?php _e("Choose Slider",'revslider')?>:
<?php echo $selectSliders; ?>
<br><br>
<?php _e("Choose Operation",'revslider')?>:
<input type="radio" id="radio_copy" value="copy" name="copy_move_operation" checked />
<label for="radio_copy" style="cursor:pointer;"><?php _e("Copy",'revslider')?></label>
&nbsp; &nbsp;
<input type="radio" id="radio_move" value="move" name="copy_move_operation" />
<label for="radio_move" style="cursor:pointer;"><?php _e("Move",'revslider')?></label>
</div>

View File

@@ -0,0 +1,361 @@
<?php
$operations = new RevSliderOperations();
$arrValues = $operations->getGeneralSettingsValues();
$role = RevSliderBase::getVar($arrValues, 'role', 'admin');
$includes_globally = RevSliderBase::getVar($arrValues, 'includes_globally', 'on');
$pages_for_includes = RevSliderBase::getVar($arrValues, 'pages_for_includes', '');
$js_to_footer = RevSliderBase::getVar($arrValues, 'js_to_footer', 'off');
$js_defer = RevSliderBase::getVar($arrValues, 'js_defer', 'off');
$show_dev_export = RevSliderBase::getVar($arrValues, 'show_dev_export', 'off');
$change_font_loading = RevSliderBase::getVar($arrValues, 'change_font_loading', '');
$enable_logs = RevSliderBase::getVar($arrValues, 'enable_logs', 'off');
$load_all_javascript = RevSliderBase::getVar($arrValues, 'load_all_javascript', 'off');
$pack_page_creation = RevSliderBase::getVar($arrValues, 'pack_page_creation', 'on');
$single_page_creation = RevSliderBase::getVar($arrValues, 'single_page_creation', 'off');
$stage_collapse = RevSliderBase::getVar($arrValues, "stage_collapse",'off');
$enable_newschannel = 'on';
$enable_newschannel = RevSliderBase::getVar($arrValues, "enable_newschannel",$enable_newschannel);
$width = RevSliderBase::getVar($arrValues, 'width', 1240);
$width_notebook = RevSliderBase::getVar($arrValues, 'width_notebook', 1024);
$width_tablet = RevSliderBase::getVar($arrValues, 'width_tablet', 778);
$width_mobile = RevSliderBase::getVar($arrValues, 'width_mobile', 480);
$force_activation_box = RevSliderBase::getVar($arrValues, 'force_activation_box', 'off');
?>
<div id="dialog_general_settings" title="<?php echo "General Settings"; ?>" style="display:none;">
<div class="settings_wrapper unite_settings_wide">
<form name="form_general_settings" id="form_general_settings">
<script type="text/javascript">
g_settingsObj['form_general_settings'] = {};
</script>
<table class="form-table">
<tbody>
<tr id="role_row" valign="top">
<th scope="row">
<?php echo "View Plugin Permission:";
?>
</th>
<td>
<select id="role" name="role">
<option <?php selected($role, 'admin'); ?> value="admin"><?php echo "To Admin"; ?></option>
<option <?php selected($role, 'editor'); ?> value="editor"><?php echo "To Editor, Admin"; ?></option>
<option <?php selected($role, 'author'); ?> value="author"><?php echo "Author, Editor, Admin"; ?></option>
</select>
<div class="description_container">
<span class="description"><?php echo "The role of user that can view and edit the plugin"; ?></span>
</div>
</td>
</tr>
<tr id="includes_globally_row" valign="top">
<th scope="row">
<?php echo "Include RevSlider libraries globally:"; ?>
</th>
<td>
<span id="includes_globally_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="includes_globally_1" value="on" name="includes_globally" <?php checked($includes_globally, 'on'); ?>>
<label for="includes_globally_1" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="includes_globally_2" value="off" name="includes_globally" <?php checked($includes_globally, 'off'); ?>>
<label for="includes_globally_2" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "ON - Add CSS and JS Files to all pages. </br>Off - CSS and JS Files will be only loaded on Pages where any rev_slider shortcode exists."; ?></span>
</div>
</td>
</tr>
<tr id="pages_for_includes_row" valign="top">
<th scope="row">
<?php echo "Pages to include RevSlider libraries:"; ?>
</th>
<td>
<input type="text" class="regular-text" id="pages_for_includes" name="pages_for_includes" value="<?php echo $pages_for_includes; ?>">
<div class="description_container">
<span class="description"><?php echo "Specify the page id's that the front end includes will be included in. Example: 2,3,5 also: homepage,3,4"; ?></span>
</div>
</td>
</tr>
<tr id="js_to_footer_row" valign="top">
<th scope="row">
<?php echo "Insert JavaScript Into Footer:"; ?>
</th>
<td>
<span id="js_to_footer_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="js_to_footer_1" value="on" name="js_to_footer" <?php checked($js_to_footer, 'on'); ?>>
<label for="js_to_footer_1" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="js_to_footer_2" value="off" name="js_to_footer" <?php checked($js_to_footer, 'off'); ?>>
<label for="js_to_footer_2" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "Putting the js to footer (instead of the head) is good for fixing some javascript conflicts."; ?></span>
</div>
</td>
</tr>
<tr id="js_defer_row" valign="top">
<th scope="row">
<?php echo "Defer JavaScript Loading:"; ?>
</th>
<td>
<span id="js_defer_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="js_defer_1" value="on" name="js_defer" <?php checked($js_defer, 'on'); ?>>
<label for="js_defer_1" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="js_defer_2" value="off" name="js_defer" <?php checked($js_defer, 'off'); ?>>
<label for="js_defer_2" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "Defer the loading of the JavaScript libraries to maximize page loading speed."; ?></span>
</div>
</td>
</tr>
<tr id="load_all_javascript" valign="top">
<th scope="row">
<?php echo "Load all JavaScript libraries:"; ?>
</th>
<td>
<span id="load_all_javascript_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="load_all_javascript_1" value="on" name="load_all_javascript" <?php checked($load_all_javascript, 'on'); ?>>
<label for="load_all_javascript_1" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="load_all_javascript_2" value="off" name="load_all_javascript" <?php checked($load_all_javascript, 'off'); ?>>
<label for="load_all_javascript_2" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "Enabling this will load all JavaScript libraries of Slider Revolution. Disabling this will let Slider Revolution load only the libraries needed for the current Sliders on page. Enabling this option can solve CDN issues."; ?></span>
</div>
</td>
</tr>
<tr id="show_dev_export_row" valign="top">
<th scope="row">
<?php echo "Enable Markup Export option:"; ?>
</th>
<td>
<span id="show_dev_export_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="show_dev_export_1" value="on" name="show_dev_export" <?php checked($show_dev_export, 'on'); ?>>
<label for="show_dev_export_1" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="show_dev_export_2" value="off" name="show_dev_export" <?php checked($show_dev_export, 'off'); ?>>
<label for="show_dev_export_2" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "This will enable the option to export the Slider Markups to copy/paste it directly into websites."; ?></span>
</div>
</td>
</tr>
<tr id="show_dev_export_row" valign="top">
<th scope="row">
<?php echo "Font Loading URL:"; ?>
</th>
<td>
<input id="change_font_loading" name="change_font_loading" type="text" class="regular-text" value="<?php echo $change_font_loading; ?>">
<div class="description_container">
<span class="description"><?php echo "Insert something in it and it will be used instead of http://fonts.googleapis.com/css?family= (For example: http://fonts.useso.com/css?family= which will also work for chinese visitors)"; ?></span>
</div>
</td>
</tr>
<tr id="advanced_resonsive_sizes_row" valign="top">
<th scope="row">
<?php echo "Default Settings for Advanced Responsive Grid Sizes:"; ?>
</th>
<td>
<div><?php echo 'Desktop Grid Width'; ?>
<input id="width" name="width" type="text" class="textbox-small" value="<?php echo $width; ?>"></div>
<div><?php echo 'Notebook Grid Width'; ?>
<input id="width_notebook" name="width_notebook" type="text" class="textbox-small" value="<?php echo $width_notebook; ?>"></div>
<div><?php echo 'Tablet Grid Width'; ?>
<input name="width_tablet" type="text" class="textbox-small" value="<?php echo $width_tablet; ?>"></div>
<div><?php echo 'Mobile Grid Width'; ?>
<input name="width_mobile" type="text" class="textbox-small" value="<?php echo $width_mobile; ?>"></div>
<div class="description_container">
<span class="description"><?php echo "Define the default Grid Sizes for devices: Desktop, Tablet and Mobile"; ?></span>
</div>
</td>
</tr>
<tr valign="top">
<th scope="row">
<?php echo "Slide Stage Collapse:"; ?>
</th>
<td>
<span id="stage_collapse_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="" value="on" name="stage_collapse" <?php checked($stage_collapse, 'on'); ?>>
<label for="" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="" value="off" name="stage_collapse" <?php checked($stage_collapse, 'off'); ?>>
<label for="" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "Collapse left WordPress Menu on Slide Stage automatically "; ?></span>
</div>
</td>
</tr>
<tr valign="top">
<th scope="row">
<?php echo "Enable Notifications:"; ?>
</th>
<td>
<span id="enable_newschannel_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="" value="on" name="enable_newschannel" <?php checked($enable_newschannel, 'on'); ?>>
<label for="" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="" value="off" name="enable_newschannel" <?php checked($enable_newschannel, 'off'); ?>>
<label for="" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "Enable/Disable ThemePunch Notifications in the Admin Notice bar."; ?></span>
</div>
</td>
</tr>
<tr id="use_hammer_js_row" valign="top">
<th scope="row">
<?php echo "Enable Logs:"; ?>
</th>
<td>
<span id="enable_logs_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="enable_logs_1" value="on" name="enable_logs" <?php checked($enable_logs, 'on'); ?>>
<label for="enable_logs_1" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="use_hammer_js_2" value="off" name="enable_logs" <?php checked($enable_logs, 'off'); ?>>
<label for="use_hammer_js_2" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "Enable console logs for debugging."; ?></span>
</div>
</td>
</tr>
<tr valign="top">
<th scope="row">
<?php echo "Enable Missing Activation Area:"; ?>
</th>
<td>
<span id="force_activation_box_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="" value="on" name="force_activation_box" <?php checked($force_activation_box, 'on'); ?>>
<label for="" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="" value="off" name="force_activation_box" <?php checked($force_activation_box, 'off'); ?>>
<label for="" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "Force the Activation Area to show up if the Theme disabled it."; ?></span>
</div>
</td>
</tr>
<tr valign="top">
<th scope="row">
<?php echo "Enable Blank Page Creation for Slider Packages:"; ?>
</th>
<td>
<span id="pack_page_creation_box_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="" value="on" name="pack_page_creation" <?php checked($pack_page_creation, 'on'); ?>>
<label for="" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="" value="off" name="pack_page_creation" <?php checked($pack_page_creation, 'off'); ?>>
<label for="" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "Enable option to automatically create a Blank Page if a Slider Pack is installed."; ?></span>
</div>
</td>
</tr>
<tr valign="top">
<th scope="row">
<?php echo "Enable Blank Page Creation for Single Sliders:"; ?>
</th>
<td>
<span id="single_page_creation_box_wrapper" class="radio_settings_wrapper">
<div class="radio_inner_wrapper">
<input type="radio" id="" value="on" name="single_page_creation" <?php checked($single_page_creation, 'on'); ?>>
<label for="" style="cursor:pointer;"><?php echo "On"; ?></label>
</div>
<div class="radio_inner_wrapper">
<input type="radio" id="" value="off" name="single_page_creation" <?php checked($single_page_creation, 'off'); ?>>
<label for="" style="cursor:pointer;"><?php echo "Off"; ?></label>
</div>
</span>
<div class="description_container">
<span class="description"><?php echo "Enable option to automatically create a Blank Page if a Single Slider is installed."; ?></span>
</div>
</td>
</tr>
<tr valign="top">
<th scope="row">
<?php echo "Run Slider Revolution database creation:"; ?>
</th>
<td>
<span id="trigger_database_creation_wrapper" class="radio_settings_wrapper">
<a id="trigger_database_creation" class="button-primary" original-title="" href="javascript:void(0);"><?php echo 'Go!'; ?></a>
</span>
<div class="description_container">
<span class="description"><?php echo "Force creation of Slider Revolution database structure to fix table issues that may occur for example at the Slider creation process."; ?></span>
</div>
</td>
</tr>
</tbody>
</table>
</form>
</div>
<br>
<a id="button_save_general_settings" class="button-primary" original-title=""><?php echo "Update"; ?></a>
<span id="loader_general_settings" class="loader_round mleft_10" style="display: none;"></span>
</div>

View File

@@ -0,0 +1,357 @@
<?php if( !defined( 'ABSPATH') ) exit(); ?>
<!-- //Youtube dialog: -->
<div id="dialog_video" class="dialog-video" title="<?php _e('Add Video Layer', 'revslider'); ?>" style="display:none">
<form id="video_dialog_form" name="video_dialog_form" onkeypress="return event.keyCode != 13;">
<div id="video_content" style="display:none"></div>
<div id="video-dialog-wrap">
<div id="video_dialog_tabs" class="box-closed tp-accordion disabled" style="background:#fff">
<ul class="rs-layer-settings-tabs">
<li class="selected" data-content="#rs-video-source" id="reset_video_dialog_tab"><i style="height:45px" class="rs-mini-layer-icon eg-icon-export rs-toolbar-icon"></i><?php _e('Source', 'revslider'); ?></li>
<li class="rs-hide-on-audio" data-content="#rs-video-size"><i style="height:45px; font-size:16px" class="rs-mini-layer-icon eg-icon-resize-full-alt rs-toolbar-icon"></i><?php _e('Sizing', 'revslider'); ?></li>
<li class="" data-content="#rs-video-settings"><i style="height:45px; font-size:16px" class="rs-mini-layer-icon eg-icon-cog rs-toolbar-icon"></i><?php _e('Settings', 'revslider'); ?></li>
<li class="rs-hide-on-audio" data-content="#rs-video-thumbnails"><i style="height:45px; font-size:16px" class="rs-mini-layer-icon eg-icon-eye rs-toolbar-icon"></i><?php _e('Poster/Mobile Visibility', 'revslider'); ?></li>
<li class="" data-content="#rs-video-arguments"><i style="height:45px; font-size:16px" class="rs-mini-layer-icon eg-icon-th rs-toolbar-icon"></i><?php _e('Arguments', 'revslider'); ?></li>
</ul>
<div style="clear:both"></div>
</div>
</div>
<div id="rs-video-source">
<!-- Type chooser -->
<div id="video_type_chooser" class="video-type-chooser" style="margin-bottom:25px">
<label><?php _e('Choose video type', 'revslider'); ?></label>
<input type="radio" checked id="video_radio_youtube" name="video_select">
<span for="video_radio_youtube"><?php _e('YouTube', 'revslider'); ?></span>
<input type="radio" id="video_radio_vimeo" name="video_select" style="margin-left:20px">
<span for="video_radio_vimeo"><?php _e('Vimeo', 'revslider'); ?></span>
<input type="radio" id="video_radio_html5" name="video_select" style="margin-left:20px">
<span for="video_radio_html5"><?php _e('HTML5', 'revslider'); ?></span>
<span class="rs-show-when-youtube-stream" style="display: none;">
<input type="radio" id="video_radio_streamyoutube" name="video_select" style="margin-left:20px">
<span for="video_radio_streamyoutube"><?php _e('From Stream', 'revslider'); ?></span>
</span>
<span class="rs-show-when-vimeo-stream" style="display: none;">
<input type="radio" id="video_radio_streamvimeo" name="video_select" style="margin-left:20px">
<span for="video_radio_streamvimeo"><?php _e('From Stream', 'revslider'); ?></span>
</span>
<span class="rs-show-when-instagram-stream" style="display: none;">
<input type="radio" id="video_radio_streaminstagram" name="video_select" style="margin-left:20px">
<span for="video_radio_streaminstagram"><?php _e('From Stream', 'revslider'); ?></span>
</span>
<input type="radio" checked id="video_radio_audio" name="video_select" style="display: none;">
</div>
<!-- Vimeo block -->
<div id="video_block_vimeo" class="video-select-block" style="display:none;" >
<label><?php _e('Vimeo ID or URL', 'revslider'); ?></label>
<input type="text" id="vimeo_id" value="">
<input type="button" style="vertical-align:middle" id="button_vimeo_search" class="button-regular video_search_button" value="search">
<span class="video_example"><?php _e('example: 30300114', 'revslider'); ?></span>
<img id="vimeo_loader" src="<?php echo RS_PLUGIN_URL; ?>/admin/assets/images/loader.gif" style="display:none">
</div>
<!-- Youtube block -->
<div id="video_block_youtube" class="video-select-block">
<label><?php _e('YouTube ID or URL', 'revslider'); ?></label>
<input type="text" id="youtube_id" value="">
<input type="button" style="vertical-align:middle" id="button_youtube_search" class="button-regular video_search_button" value="search">
<span class="video_example"><?php _e('example', 'revslider'); ?>: <?php echo RevSliderGlobals::YOUTUBE_EXAMPLE_ID; ?></span>
<img id="youtube_loader" src="<?php echo RS_PLUGIN_URL; ?>/admin/assets/images/loader.gif" style="display:none">
</div>
<!-- Html 5 block -->
<div id="video_block_html5" class="video-select-block" style="display:none;">
<label><?php _e('Poster Image Url', 'revslider'); ?></label>
<input style="width:330px" type="text" id="html5_url_poster" name="html5_url_poster" value="">
<span class="imgsrcchanger-div" style="margin-left:20px;">
<a href="javascript:void(0)" class="button-image-select-html5-video button-primary revblue" ><?php _e('Choose from Library', 'revslider'); ?></a>
</span>
<span class="video_example">&nbsp;</span>
<label><?php _e('Video MP4 Url', 'revslider'); ?></label>
<input style="width:330px" type="text" id="html5_url_mp4" name="html5_url_mp4" value="">
<span class="vidsrcchanger-div" style="margin-left:20px;">
<a href="javascript:void(0)" data-inptarget="html5_url_mp4" class="button_change_video button-primary revblue" ><?php _e('Choose from Library', 'revslider'); ?></a>
</span>
<span class="video_example"><?php _e("example",'revslider'); ?>: http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4</span>
<label><?php _e('Video WEBM Url', 'revslider'); ?></label>
<input style="width:330px" type="text" id="html5_url_webm" name="html5_url_webm" value="">
<span class="vidsrcchanger-div" style="margin-left:20px;">
<a href="javascript:void(0)" data-inptarget="html5_url_webm" class="button_change_video button-primary revblue" ><?php _e('Choose from Library', 'revslider'); ?></a>
</span>
<span class="video_example"><?php _e('example','revslider'); ?>: http://clips.vorwaerts-gmbh.de/big_buck_bunny.webm</span>
<label><?php _e('Video OGV Url', 'revslider'); ?></label>
<input style="width:330px" type="text" id="html5_url_ogv" name="html5_url_ogv" value="">
<span class="vidsrcchanger-div" style="margin-left:20px;">
<a href="javascript:void(0)" data-inptarget="html5_url_ogv" class="button_change_video button-primary revblue" ><?php _e('Choose from Library', 'revslider'); ?></a>
</span>
<span class="video_example"><?php _e('example', 'revslider'); ?>: http://clips.vorwaerts-gmbh.de/big_buck_bunny.ogv</span>
</div>
<div id="video_block_audio" class="video-select-block" style="display:none;" >
<label><?php _e('Audio Url', 'revslider'); ?></label>
<input style="width:330px" type="text" id="html5_url_audio" name="html5_url_audio" value="">
<span class="vidsrcchanger-div" style="margin-left:20px;">
<a href="javascript:void(0)" data-inptarget="html5_url_audio" class="button_change_video button-primary revblue" ><?php _e('Choose from Library', 'revslider'); ?></a>
</span>
</div>
</div>
<div id="rs-video-size" style="display:none">
<!-- Video Sizing -->
<div id="video_size_wrapper" class="youtube-inputs-wrapper">
<label for="input_video_fullwidth"><?php _e('Full Screen:', 'revslider'); ?></label>
<input type="checkbox" class="tp-moderncheckbox rs-staticcustomstylechange tipsy_enabled_top" id="input_video_fullwidth">
<div class="clearfix mb10"></div>
</div>
<label for="input_video_cover" class="video-label"><?php _e('Force Cover:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox mb10" id="input_video_cover">
<div id="fullscreenvideofun1" class="video-settings-line mb10">
<label for="input_video_dotted_overlay" class="video-label" id="input_video_dotted_overlay_lbl">
<?php _e('Dotted Overlay:', 'revslider'); ?>
</label>
<select id="input_video_dotted_overlay" style="width:100px">
<option value="none"><?php _e('none','revslider'); ?></option>
<option value="twoxtwo"><?php _e('2 x 2 Black','revslider'); ?></option>
<option value="twoxtwowhite"><?php _e('2 x 2 White','revslider'); ?></option>
<option value="threexthree"><?php _e('3 x 3 Black','revslider'); ?></option>
<option value="threexthreewhite"><?php _e('3 x 3 White','revslider'); ?></option>
</select>
<div class="clearfix mb10"></div>
<label for="input_video_ratio" class="video-label" id="input_video_ratio_lbl">
<?php _e('Aspect Ratio:', 'revslider'); ?>
</label>
<select id="input_video_ratio" style="width:100px">
<option value="16:9"><?php _e('16:9','revslider'); ?></option>
<option value="4:3"><?php _e('4:3','revslider'); ?></option>
</select>
</div>
<div id="video_full_screen_settings" class="video-settings-line">
<div class="mb10">
<label for="input_video_leave_fs_on_pause"><?php _e('Leave Full Screen on Pause/End:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_leave_fs_on_pause">
</div>
</div>
</div>
<div id="rs-video-settings" style="display:none">
<div class="mb10">
<label for="input_video_loop"><?php _e("Loop:",'revslider'); ?></label>
<?php /* <input type="checkbox" class="checkbox_video_dialog mtop_13" id="input_video_loop" > */ ?>
<select id="input_video_loop" style="width: 200px;">
<option value="none"><?php _e('Disable', 'revslider'); ?></option>
<option class="rs-hide-on-audio" value="loop"><?php _e('Loop, Slide is paused', 'revslider'); ?></option>
<option class="rs-hide-on-audio" value="loopandnoslidestop"><?php _e('Loop, Slide does not stop', 'revslider'); ?></option>
<option class="rs-show-on-audio" value="loopandnoslidestop"><?php _e('Loop Segment', 'revslider'); ?></option>
</select>
</div>
<div class="mb10">
<label for="input_video_autoplay"><?php _e('Autoplay:', 'revslider'); ?></label>
<select id="select_video_autoplay">
<option value="false"><?php _e('Off', 'revslider'); ?></option>
<option value="true"><?php _e('On', 'revslider'); ?></option>
<option value="1sttime"><?php _e('On 1st Time', 'revslider'); ?></option>
<option value="no1sttime"><?php _e('Not on 1st Time', 'revslider'); ?></option>
</select>
</div>
<div class="mb10">
<label for="input_video_stopallvideo"><?php _e('Stop Other Media:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_stopallvideo" >
</div>
<div class="mb10 hide-for-vimeo rs-hide-on-audio">
<label for="input_video_allowfullscreen"><?php _e('Allow FullScreen:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_allowfullscreen" >
</div>
<div class="mb10">
<label for="input_video_nextslide"><?php _e('Next Slide On End:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_nextslide" >
</div>
<div class="mb10">
<label for="input_video_force_rewind"><?php _e('Rewind at Slide Start:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_force_rewind" >
</div>
<div class="mb10">
<label for="input_video_control"><?php _e('Hide Controls:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_control" >
<span style="vertical-align:middle; margin-left:15px; display:none" class="description hidecontroldepend"><?php _e('Layer Action may needed to start/stop Video', 'revslider'); ?></span>
</div>
<script>
jQuery('#input_video_control').on('change',function() {
if (jQuery(this).attr('checked')==="checked")
jQuery('.hidecontroldepend').show();
else
jQuery('.hidecontroldepend').hide();
})
</script>
<div class="mb10 rs-hide-on-audio">
<label for="input_video_mute"><?php _e('Mute:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_mute" >
</div>
<div class="mb10 video-volume">
<label for="input_video_volume"><?php _e('Volume (0 - 100):', 'revslider'); ?></label>
<input type="text" class="input_video_dialog" style="width: 50px;" id="input_video_volume" >
</div>
<div class="mb10">
<span class="rs-hide-on-audio"><label for="input_video_start_at"><?php _e('Start at:', 'revslider'); ?></label></span>
<span class="rs-show-on-audio"><label for="input_video_start_at"><?php _e('Segment Start:', 'revslider'); ?></label></span>
<input type="text" id="input_video_start_at" style="width: 50px;"> <?php _e('i.e.: 0:17', 'revslider'); ?>
</div>
<div class="mb10">
<span class="rs-hide-on-audio"><label for="input_video_end_at"><?php _e('End at:', 'revslider'); ?></label></span>
<span class="rs-show-on-audio"><label for="input_video_end_at"><?php _e('Segment End:', 'revslider'); ?></label></span>
<input type="text" id="input_video_end_at" style="width: 50px;"> <?php _e('i.e.: 2:41', 'revslider'); ?>
</div>
<div class="mb10 rs-hide-on-audio">
<label for="input_video_show_cover_pause"><?php _e('Show Cover at Pause:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_show_cover_pause" >
</div>
<div class="mb10 rs-show-on-audio">
<label for="input_video_show_visibility"><?php _e('Invisible on Frontend:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_show_visibility" >
</div>
<div id="rev-youtube-options" class="video-settings-line mb10 rs-hide-on-audio">
<div class="mb10">
<label for="input_video_speed"><?php _e('Video Speed:', 'revslider'); ?></label>
<select id="input_video_speed" style="width:75px">
<option value="0.25"><?php _e('0.25', 'revslider'); ?></option>
<option value="0.50"><?php _e('0.50', 'revslider'); ?></option>
<option value="1"><?php _e('1', 'revslider'); ?></option>
<option value="1.5"><?php _e('1.5', 'revslider'); ?></option>
<option value="2"><?php _e('2', 'revslider'); ?></option>
</select>
</div>
</div>
<!-- JASON -->
<div id="rev-playsinline-options" class="video-settings-line mb10 rs-hide-on-audio">
<div class="mb10">
<label for="input_video_play_inline"><?php _e('Play Video Inline:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_play_inline" >
</div>
</div>
<div class="mb10 rs-show-on-audio" style="display: none">
<div class="mb10">
<label for="input_audio_preload" class="video-label">
<?php _e("Audio Preload:",'revslider')?>
</label>
<select id="input_audio_preload" style="width:200px">
<option value="none"><?php _e('Disable', 'revslider'); ?></option>
<option value="metadata"><?php _e('Metadata', 'revslider'); ?></option>
<option value="progress"><?php _e('Progress', 'revslider'); ?></option>
<option value="canplay"><?php _e('Can Play', 'revslider'); ?></option>
<option value="canplaythrough"><?php _e('Can Play Through', 'revslider'); ?></option>
</select>
</div>
<div class="mb10">
<label for="input_audio_preload" class="video-label">
<?php _e("Ignore Preload after ",'revslider'); ?>
</label>
<select id="input_video_preload_wait">
<option value="0"><?php _e('0', 'revslider'); ?></option>
<option value="1"><?php _e('1', 'revslider'); ?></option>
<option value="2"><?php _e('2', 'revslider'); ?></option>
<option value="3"><?php _e('3', 'revslider'); ?></option>
<option value="4"><?php _e('4', 'revslider'); ?></option>
<option value="5"><?php _e('5', 'revslider'); ?></option>
<option value="6"><?php _e('6', 'revslider'); ?></option>
<option value="7"><?php _e('7', 'revslider'); ?></option>
<option value="8"><?php _e('8', 'revslider'); ?></option>
<option value="9"><?php _e('9', 'revslider'); ?></option>
<option value="10"><?php _e('10', 'revslider'); ?></option>
</select><?php _e(" seconds",'revslider'); ?>
</div>
</div>
<div id="rev-html5-options" style="display: none; mb10">
<div class="mb10">
<label for="input_video_preload" class="video-label">
<?php _e("Video Preload:",'revslider')?>
</label>
<select id="input_video_preload" style="width:200px">
<option value="auto"><?php _e('Auto', 'revslider'); ?></option>
<option value="none"><?php _e('Disable', 'revslider'); ?></option>
<option value="metadata"><?php _e('Metadata', 'revslider'); ?></option>
</select>
</div>
<div class="mb10">
<label for="input_video_large_controls"><?php _e('Large Controls:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_video_large_controls" >
</div>
</div>
</div>
<div id="rs-video-thumbnails" style="display:none">
<div id="preview-image-video-wrap" class="mb10">
<label><?php _e('Poster Image', 'revslider'); ?></label>
<input type="text" class="checkbox_video_dialog " id="input_video_preview">
<input type="button" id="" class="button-image-select-video button-primary revblue" value="<?php _e('Image Library', 'revslider'); ?>">
<input type="button" id="" class="button-image-select-video-default button-primary revblue" value="<?php _e('Video Thumbnail', 'revslider'); ?>">
<input type="button" id="" class="button-image-remove-video button-primary revblue" value="<?php _e('Remove', 'revslider'); ?>">
<div class="clear"></div>
</div>
<div class="mb10">
<label for="input_disable_on_mobile"><?php _e('Disable Video and Show<br>only Poster on Mobile:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_disable_on_mobile" >
</div>
<div class="mb10">
<label for="input_use_poster_on_mobile"><?php _e('No Poster on Mobile:', 'revslider'); ?></label>
<input type="checkbox" class="checkbox_video_dialog tp-moderncheckbox" id="input_use_poster_on_mobile" >
<div style="width:100%;height:10px"></div>
</div>
<!--div class="mb10">
<select id="select_mobile_setting">
<option value=""><?php _e('Show Video and Show Poster', 'revslider'); ?></option>posteronlyonmobile="off" && disablevideoonmobile="off"
<option value=""><?php _e('Show Video and Hide Poster', 'revslider'); ?></option>
<option value="use_poster_on_mobile"><?php _e('Hide Video and Show Poster', 'revslider'); ?></option>
<option value="disable_on_mobile"><?php _e('Hide Video and Hide Poster', 'revslider'); ?></option>
</select>
</div-->
</div>
<div id="rs-video-arguments" style="display:none">
<div>
<label><?php _e('Arguments:', 'revslider'); ?></label>
<input type="text" id="input_video_arguments" style="width:350px;" value="" data-youtube="<?php echo RevSliderGlobals::DEFAULT_YOUTUBE_ARGUMENTS; ?>" data-vimeo="<?php echo RevSliderGlobals::DEFAULT_VIMEO_ARGUMENTS; ?>" >
</div>
</div>
<div class="add-button-wrapper" style="margin-left:25px;">
<a href="javascript:void(0)" class="button-primary revblue" id="button-video-add" data-textadd="<?php _e('Add This Video', 'revslider'); ?>" data-textupdate="<?php _e('Update Video', 'revslider'); ?>" ><?php _e('Add This Video', 'revslider'); ?></a>
<a href="javascript:void(0)" class="button-primary revblue" style="display: none;" id="button-audio-add" data-textadd="<?php _e('Add This Audio', 'revslider'); ?>" data-textupdate="<?php _e('Update Audio', 'revslider'); ?>" ><?php _e('Add This Audio', 'revslider'); ?></a>
</div>
</form>
</div>