PluginProbe ʕ •ᴥ•ʔ
EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents / 3.9.7
EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents v3.9.7
4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 2.0.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.3.2 2.3.3 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.6.0 2.6.1 2.6.2 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.4.0 3.4.1 3.4.2 3.4.3 3.5.0 3.5.1 3.5.2 3.5.3 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.7.0 3.7.1 3.7.2 3.7.3 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.9.0 3.9.1 3.9.10 3.9.11 3.9.12 3.9.13 3.9.14 3.9.15 3.9.16 3.9.17 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 3.9.7 3.9.8 3.9.9 4.0.0 4.0.1 4.0.10 4.0.11 4.0.12 4.0.13 4.0.14 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.0.9 4.1.0 4.1.1 4.1.10 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 4.3.1 4.4.0 4.4.1 4.4.10 4.4.11 4.4.2 4.4.3 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.4.9 4.5.0 4.5.1
embedpress / EmbedPress / Ends / Back / Settings / templates / wistia.php
embedpress / EmbedPress / Ends / Back / Settings / templates Last commit date
partials 2 years ago ads.php 2 years ago calendly.php 2 years ago custom-logo.php 2 years ago dailymotion.php 4 years ago elements.php 2 years ago general.php 2 years ago go-premium.php 2 years ago google-calendar.php 2 years ago license.php 5 years ago main-template.php 5 years ago opensea.php 3 years ago premium.php 2 years ago shortcode.php 2 years ago soundcloud.php 4 years ago sources.php 2 years ago spotify.php 4 years ago twitch.php 4 years ago vimeo.php 3 years ago wistia.php 4 years ago youtube.php 3 years ago
wistia.php
235 lines
1 <?php
2 /*
3 * Wistia Settings page
4 * all undefined vars comes from EmbedPressSettings.php or sometime from main-template.php
5 * */
6 $wis_settings = get_option( EMBEDPRESS_PLG_NAME.':wistia' );
7 $start_time = isset( $wis_settings['start_time']) ? $wis_settings['start_time'] : 0;
8 $autoplay = isset( $wis_settings['autoplay']) ? $wis_settings['autoplay'] : '';
9 $display_fullscreen_button = isset( $wis_settings['display_fullscreen_button']) ? $wis_settings['display_fullscreen_button'] : 1;
10 $display_playbar = isset( $wis_settings['display_playbar']) ? $wis_settings['display_playbar'] : 1;
11 $small_play_button = isset( $wis_settings['small_play_button']) ? $wis_settings['small_play_button'] : 1;
12 $display_volume_control = isset( $wis_settings['display_volume_control']) ? $wis_settings['display_volume_control'] : 1;
13 $volume = isset( $wis_settings['volume']) ? intval( $wis_settings['volume']) : 100;
14 $player_color = isset( $wis_settings['player_color']) ? $wis_settings['player_color'] : '#5b4e96'; //@todo; confirm #00adef
15 $plugin_resumable = isset( $wis_settings['plugin_resumable']) ? $wis_settings['plugin_resumable'] : '';
16 $plugin_captions = isset( $wis_settings['plugin_captions']) ? $wis_settings['plugin_captions'] : '';
17 $plugin_captions_default = isset( $wis_settings['plugin_captions_default']) ? $wis_settings['plugin_captions_default'] : '';
18 $plugin_focus = isset( $wis_settings['plugin_focus']) ? $wis_settings['plugin_focus'] : '';
19 $plugin_rewind = isset( $wis_settings['plugin_rewind']) ? $wis_settings['plugin_rewind'] : '';
20 $plugin_rewind_time = isset( $wis_settings['plugin_rewind_time']) ? intval( $wis_settings['plugin_rewind_time']) : 10;
21 ?>
22
23 <div class="embedpress__settings background__white radius-25 p40">
24 <h3><?php esc_html_e( "Wistia Settings", "embedpress" ); ?></h3>
25 <div class="embedpress__settings__form">
26 <form action="" method="post" class="embedpress-settings-form" >
27 <?php
28 do_action( 'embedpress_before_wistia_settings_fields');
29 echo $nonce_field ;
30 ?>
31 <div class="form__group">
32 <p class="form__label" ><?php esc_html_e( "Start Time (In Seconds)", "embedpress" ); ?> </p>
33 <div class="form__control__wrap">
34 <input type="number" name="start_time" id="start_time" class="form__control" data-default="<?php echo esc_attr( $start_time); ?>" value="<?php echo esc_attr( $start_time); ?>" >
35 <p><?php esc_html_e( "You can put a custom time in seconds to start video. Example: 500", "embedpress" ); ?></p>
36 </div>
37
38 </div>
39 <div class="form__group">
40 <p class="form__label"><?php esc_html_e( "Fullscreen Button", "embedpress" ); ?></p>
41 <div class="form__control__wrap">
42 <div data-default="<?php echo esc_attr( $display_fullscreen_button ); ?>" data-value="<?php echo esc_attr( $display_fullscreen_button ); ?>" class="input__flex input__radio_wrap">
43 <label class="input__radio">
44 <input type="radio" value="" name="display_fullscreen_button" <?php checked( '', $display_fullscreen_button); ?>>
45 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
46 </label>
47 <label class="input__radio">
48 <input type="radio" value="1" name="display_fullscreen_button" <?php checked( '1', $display_fullscreen_button); ?>>
49 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
50 </label>
51 </div>
52 <p><?php esc_html_e( "Indicates whether the fullscreen button is visible.", "embedpress" ); ?></p>
53 </div>
54 </div>
55 <div class="form__group">
56 <p class="form__label"><?php esc_html_e( "Playbar", "embedpress" );?> </p>
57 <div class="form__control__wrap">
58 <div data-default="<?php echo esc_attr( $display_playbar ); ?>" data-value="<?php echo esc_attr( $display_playbar ); ?>" class="input__flex input__radio_wrap ">
59 <label class="input__radio">
60 <input type="radio" value="" name="display_playbar" <?php checked( '', $display_playbar); ?>>
61 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
62 </label>
63 <label class="input__radio">
64 <input type="radio" value="1" name="display_playbar" <?php checked( '1', $display_playbar); ?>>
65 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
66 </label>
67 </div>
68 <p><?php esc_html_e( "Indicates whether the playbar is visible.", "embedpress" ); ?></p>
69 </div>
70 </div>
71 <div class="form__group">
72 <p class="form__label"><?php esc_html_e( "Small Play Button", "embedpress" ); ?></p>
73 <div class="form__control__wrap">
74 <div data-default="<?php echo esc_attr( $small_play_button ); ?>" data-value="<?php echo esc_attr( $small_play_button ); ?>" class="input__flex input__radio_wrap">
75 <label class="input__radio">
76 <input type="radio" value="" name="small_play_button" <?php checked( '', $small_play_button); ?>>
77 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
78 </label>
79 <label class="input__radio">
80 <input type="radio" value="1" name="small_play_button" <?php checked( '1', $small_play_button); ?>>
81 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
82 </label>
83 </div>
84 <p><?php esc_html_e( "Indicates whether the small play button is visible on the bottom left.", "embedpress" ); ?></p>
85 </div>
86 </div>
87 <div class="form__group">
88 <p class="form__label"><?php esc_html_e( "Volume Control", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
89 <div class="form__control__wrap">
90 <div data-default="<?php echo esc_attr( $display_volume_control ); ?>" data-value="<?php echo esc_attr( $display_volume_control ); ?>" class="input__flex input__radio_wrap <?php echo $pro_active ? '': 'isPro'; ?>">
91 <label class="input__radio">
92 <input type="radio" value="" name="display_volume_control" <?php echo $pro_active ? '' : 'disabled'; checked( '', $display_volume_control); ?>>
93 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
94 </label>
95 <label class="input__radio">
96 <input type="radio" value="1" name="display_volume_control" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $display_volume_control); ?>>
97 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
98 </label>
99 </div>
100 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
101 <p><?php esc_html_e( "Indicates whether the volume control is visible.", "embedpress" ); ?></p>
102 </div>
103 </div>
104
105 <div class="form__group">
106 <p class="form__label"><?php esc_html_e( "Volume", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
107 <div class="form__control__wrap <?php echo $pro_active ? '': 'isPro'; ?>">
108 <input type="number" max="100" min="0" class="form__control" data-default="<?php echo esc_attr( $volume ); ?>" value="<?php echo esc_attr( $volume ); ?>" name="volume" <?php echo $pro_active ? '' : 'disabled'; ?>>
109
110 <p><?php esc_html_e( "Start the video with a custom volume level. Set values between 0 and 100.", "embedpress" ); ?></p>
111 </div>
112 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
113
114 </div>
115
116 <div class="form__group">
117 <p class="form__label"><?php esc_html_e( "Auto Play", "embedpress" ); ?></p>
118 <div class="form__control__wrap">
119 <div data-default="<?php echo esc_attr( $autoplay ); ?>" data-value="<?php echo esc_attr( $autoplay ); ?>" class="input__flex input__radio_wrap">
120 <label class="input__radio">
121 <input type="radio" value="" name="autoplay" <?php checked( '', $autoplay);?>>
122 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
123 </label>
124 <label class="input__radio">
125 <input type="radio" value="1" name="autoplay" <?php checked( '1', $autoplay);?>>
126 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
127 </label>
128 </div>
129 <p><?php esc_html_e( "Automatically start to play the videos when the player loads.", "embedpress" ); ?></p>
130 </div>
131 </div>
132
133 <div class="form__group">
134 <p class="form__label"><?php esc_html_e( "Color", "embedpress" ); ?></p>
135 <div class="form__control__wrap">
136 <input type="text" class="ep-color-picker" name="player_color" data-default="<?php echo esc_attr( $player_color ); ?>" value="<?php echo esc_attr( $player_color ); ?>">
137 <p><?php esc_html_e( "Specify the color of the video controls.", "embedpress" ); ?></p>
138 </div>
139 </div>
140
141 <div class="form__group">
142 <p class="form__label"><?php esc_html_e( "Plugin: Resumable", "embedpress" ); ?></p>
143 <div class="form__control__wrap">
144 <div data-default="<?php echo esc_attr( $plugin_resumable ); ?>" data-value="<?php echo esc_attr( $plugin_resumable ); ?>" class="input__flex input__radio_wrap">
145 <label class="input__radio">
146 <input type="radio" value="" name="plugin_resumable" <?php checked( '', $plugin_resumable);?>>
147 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
148 </label>
149 <label class="input__radio">
150 <input type="radio" value="1" name="plugin_resumable" <?php checked( '1', $plugin_resumable);?>>
151 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
152 </label>
153 </div>
154 <p><?php esc_html_e( "Indicates whether the Resumable plugin is active. Allow to resume the video or start from the beginning.", "embedpress" ); ?></p>
155 </div>
156 </div>
157 <div class="form__group">
158 <p class="form__label"><?php esc_html_e( "Plugin: Captions", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
159 <div class="form__control__wrap">
160 <div data-default="<?php echo esc_attr( $plugin_captions ); ?>" data-value="<?php echo esc_attr( $plugin_captions ); ?>" class="input__flex input__radio_wrap <?php echo $pro_active ? '': 'isPro'; ?>">
161 <label class="input__radio">
162 <input type="radio" value="" name="plugin_captions" <?php echo $pro_active ? '' : 'disabled'; checked( '', $plugin_captions); ?>>
163 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
164 </label>
165 <label class="input__radio">
166 <input type="radio" value="1" name="plugin_captions" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $plugin_captions); ?>>
167 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
168 </label>
169 </div>
170 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
171 <p><?php esc_html_e( "Indicates whether the Captions plugin is active.", "embedpress" ); ?></p>
172 </div>
173 </div>
174 <div class="form__group">
175 <p class="form__label"><?php esc_html_e( "Captions Enabled By Default", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
176 <div class="form__control__wrap">
177 <div data-default="<?php echo esc_attr( $plugin_captions_default ); ?>" data-value="<?php echo esc_attr( $plugin_captions_default ); ?>" class="input__flex input__radio_wrap <?php echo $pro_active ? '': 'isPro'; ?>">
178 <label class="input__radio">
179 <input type="radio" value="" name="plugin_captions_default" <?php echo $pro_active ? '' : 'disabled'; checked( '', $plugin_captions_default); ?>>
180 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
181 </label>
182 <label class="input__radio">
183 <input type="radio" value="1" name="plugin_captions_default" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $plugin_captions_default); ?>>
184 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
185 </label>
186 </div>
187 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
188 <p><?php esc_html_e( "Indicates whether the Captions are enabled by default.", "embedpress" ); ?></p>
189 </div>
190 </div>
191 <div class="form__group">
192 <p class="form__label">Plugin: Focus</p>
193 <div class="form__control__wrap">
194 <div data-default="<?php echo esc_attr( $plugin_focus ); ?>" data-value="<?php echo esc_attr( $plugin_focus ); ?>" class="input__flex input__radio_wrap">
195 <label class="input__radio">
196 <input type="radio" value="" name="plugin_focus" <?php checked( '', $plugin_focus); ?>>
197 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
198 </label>
199 <label class="input__radio">
200 <input type="radio" value="1" name="plugin_focus" <?php checked( '1', $plugin_focus); ?>>
201 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
202 </label>
203 </div>
204 <p><?php esc_html_e( "Indicates whether the Focus plugin is active.", "embedpress" ); ?></p>
205 </div>
206 </div>
207 <div class="form__group">
208 <p class="form__label"><?php esc_html_e( "Plugin: Rewind", "embedpress" );?> </p>
209 <div class="form__control__wrap">
210 <div data-default="<?php echo esc_attr( $plugin_rewind ); ?>" data-value="<?php echo esc_attr( $plugin_rewind ); ?>" class="input__flex input__radio_wrap">
211 <label class="input__radio">
212 <input type="radio" value="" name="plugin_rewind" <?php checked( '', $plugin_rewind); ?>>
213 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
214 </label>
215 <label class="input__radio">
216 <input type="radio" value="1" name="plugin_rewind" <?php checked( '1', $plugin_rewind); ?>>
217 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
218 </label>
219 </div>
220 <p><?php esc_html_e( "Indicates whether the Rewind plugin is active.", "embedpress" ); ?></p>
221 </div>
222 </div>
223 <div class="form__group">
224 <p class="form__label"><?php esc_html_e( "Rewind Time (In Seconds)", "embedpress" ); ?> </p>
225 <div class="form__control__wrap">
226 <input type="number" class="form__control" data-default="<?php echo esc_attr( $plugin_rewind_time );?>" value="<?php echo esc_attr( $plugin_rewind_time );?>" name="plugin_rewind_time" >
227 <p><?php esc_html_e( "The amount of time to rewind, in seconds.", "embedpress" ); ?></p>
228 </div>
229 </div>
230 <?php do_action( 'embedpress_after_wistia_settings_fields'); ?>
231 <button class="button button__themeColor radius-10 embedpress-submit-btn" name="submit" value="wistia"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
232 </form>
233 </div>
234 </div>
235