PluginProbe ʕ •ᴥ•ʔ
EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents / 3.0.0
EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents v3.0.0
4.6.1 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 5 years ago custom-logo.php 5 years ago elements.php 5 years ago general.php 5 years ago go-premium.php 5 years ago license.php 5 years ago main-template.php 5 years ago twitch.php 5 years ago vimeo.php 5 years ago wistia.php 5 years ago youtube.php 5 years ago
wistia.php
229 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 $autoplay = isset( $wis_settings['autoplay']) ? $wis_settings['autoplay'] : '';
8 $display_fullscreen_button = isset( $wis_settings['display_fullscreen_button']) ? $wis_settings['display_fullscreen_button'] : 1;
9 $display_playbar = isset( $wis_settings['display_playbar']) ? $wis_settings['display_playbar'] : 1;
10 $small_play_button = isset( $wis_settings['small_play_button']) ? $wis_settings['small_play_button'] : 1;
11 $display_volume_control = isset( $wis_settings['display_volume_control']) ? $wis_settings['display_volume_control'] : 1;
12 $volume = isset( $wis_settings['volume']) ? intval( $wis_settings['volume']) : 100;
13 $player_color = isset( $wis_settings['player_color']) ? $wis_settings['player_color'] : '#5b4e96'; //@todo; confirm #00adef
14 $plugin_resumable = isset( $wis_settings['plugin_resumable']) ? $wis_settings['plugin_resumable'] : '';
15 $plugin_captions = isset( $wis_settings['plugin_captions']) ? $wis_settings['plugin_captions'] : '';
16 $plugin_captions_default = isset( $wis_settings['plugin_captions_default']) ? $wis_settings['plugin_captions_default'] : '';
17 $plugin_focus = isset( $wis_settings['plugin_focus']) ? $wis_settings['plugin_focus'] : '';
18 $plugin_rewind = isset( $wis_settings['plugin_rewind']) ? $wis_settings['plugin_rewind'] : '';
19 $plugin_rewind_time = isset( $wis_settings['plugin_rewind_time']) ? intval( $wis_settings['plugin_rewind_time']) : 10;
20 ?>
21
22 <div class="embedpress__settings background__white radius-25 p40">
23 <h3><?php esc_html_e( "Wistia Settings", "embedpress" ); ?></h3>
24 <div class="embedpress__settings__form">
25 <form action="" method="post" >
26 <?php
27 do_action( 'embedpress_before_wistia_settings_fields');
28 echo $nonce_field ;
29 ?>
30 <div class="form__group">
31 <p class="form__label"><?php esc_html_e( "Fullscreen Button", "embedpress" ); ?></p>
32 <div class="form__control__wrap">
33 <div class="input__flex">
34 <label class="input__radio">
35 <input type="radio" value="" name="display_fullscreen_button" <?php checked( '', $display_fullscreen_button); ?>>
36 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
37 </label>
38 <label class="input__radio">
39 <input type="radio" value="1" name="display_fullscreen_button" <?php checked( '1', $display_fullscreen_button); ?>>
40 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
41 </label>
42 </div>
43 <p><?php esc_html_e( "Indicates whether the fullscreen button is visible.", "embedpress" ); ?></p>
44 </div>
45 </div>
46 <div class="form__group">
47 <p class="form__label"><?php esc_html_e( "Playbar", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
48 <div class="form__control__wrap">
49 <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
50 <label class="input__radio">
51 <input type="radio" value="" name="display_playbar" <?php echo $pro_active ? '' : 'disabled'; checked( '', $display_playbar); ?>>
52 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
53 </label>
54 <label class="input__radio">
55 <input type="radio" value="1" name="display_playbar" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $display_playbar); ?>>
56 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
57 </label>
58 </div>
59 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
60 <p><?php esc_html_e( "Indicates whether the playbar is visible.", "embedpress" ); ?></p>
61 </div>
62 </div>
63 <div class="form__group">
64 <p class="form__label"><?php esc_html_e( "Small Play Button", "embedpress" ); ?></p>
65 <div class="form__control__wrap">
66 <div class="input__flex">
67 <label class="input__radio">
68 <input type="radio" value="" name="small_play_button" <?php checked( '', $small_play_button); ?>>
69 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
70 </label>
71 <label class="input__radio">
72 <input type="radio" value="1" name="small_play_button" <?php checked( '1', $small_play_button); ?>>
73 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
74 </label>
75 </div>
76 <p><?php esc_html_e( "Indicates whether the small play button is visible on the bottom left.", "embedpress" ); ?></p>
77 </div>
78 </div>
79 <div class="form__group">
80 <p class="form__label"><?php esc_html_e( "Volume Control", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
81 <div class="form__control__wrap">
82 <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
83 <label class="input__radio">
84 <input type="radio" value="" name="display_volume_control" <?php echo $pro_active ? '' : 'disabled'; checked( '', $display_volume_control); ?>>
85 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
86 </label>
87 <label class="input__radio">
88 <input type="radio" value="1" name="display_volume_control" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $display_volume_control); ?>>
89 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
90 </label>
91 </div>
92 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
93 <p><?php esc_html_e( "Indicates whether the volume control is visible.", "embedpress" ); ?></p>
94 </div>
95 </div>
96
97 <div class="form__group">
98 <p class="form__label"><?php esc_html_e( "Volume", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
99 <div class="form__control__wrap <?php echo $pro_active ? '': 'isPro'; ?>">
100 <input type="number" max="100" min="0" class="form__control" value="<?php echo esc_attr( $volume ); ?>" name="volume" <?php echo $pro_active ? '' : 'disabled'; ?>>
101
102 <p><?php esc_html_e( "Start the video with a custom volume level. Set values between 0 and 100.", "embedpress" ); ?></p>
103 </div>
104 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
105
106 </div>
107
108 <div class="form__group">
109 <p class="form__label"><?php esc_html_e( "Auto Play", "embedpress" ); ?></p>
110 <div class="form__control__wrap">
111 <div class="input__flex">
112 <label class="input__radio">
113 <input type="radio" value="" name="autoplay" <?php checked( '', $autoplay);?>>
114 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
115 </label>
116 <label class="input__radio">
117 <input type="radio" value="1" name="autoplay" <?php checked( '1', $autoplay);?>>
118 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
119 </label>
120 </div>
121 <p><?php esc_html_e( "Automatically start to play the videos when the player loads.", "embedpress" ); ?></p>
122 </div>
123 </div>
124
125 <div class="form__group">
126 <p class="form__label"><?php esc_html_e( "Color", "embedpress" ); ?></p>
127 <div class="form__control__wrap">
128 <input type="text" class="ep-color-picker" name="player_color" value="<?php echo esc_attr( $player_color ); ?>">
129 <p><?php esc_html_e( "Specify the color of the video controls.", "embedpress" ); ?></p>
130 </div>
131 </div>
132
133 <div class="form__group">
134 <p class="form__label"><?php esc_html_e( "Plugin: Resumable", "embedpress" ); ?></p>
135 <div class="form__control__wrap">
136 <div class="input__flex">
137 <label class="input__radio">
138 <input type="radio" value="" name="plugin_resumable" <?php checked( '', $plugin_resumable);?>>
139 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
140 </label>
141 <label class="input__radio">
142 <input type="radio" value="1" name="plugin_resumable" <?php checked( '1', $plugin_resumable);?>>
143 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
144 </label>
145 </div>
146 <p><?php esc_html_e( "Indicates whether the Resumable plugin is active. Allow to resume the video or start from the beginning.", "embedpress" ); ?></p>
147 </div>
148 </div>
149 <div class="form__group">
150 <p class="form__label"><?php esc_html_e( "Plugin: Captions", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
151 <div class="form__control__wrap">
152 <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
153 <label class="input__radio">
154 <input type="radio" value="" name="plugin_captions" <?php echo $pro_active ? '' : 'disabled'; checked( '', $plugin_captions); ?>>
155 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
156 </label>
157 <label class="input__radio">
158 <input type="radio" value="1" name="plugin_captions" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $plugin_captions); ?>>
159 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
160 </label>
161 </div>
162 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
163 <p><?php esc_html_e( "Indicates whether the Captions plugin is active.", "embedpress" ); ?></p>
164 </div>
165 </div>
166 <div class="form__group">
167 <p class="form__label"><?php esc_html_e( "Captions Enabled By Default", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
168 <div class="form__control__wrap">
169 <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
170 <label class="input__radio">
171 <input type="radio" value="" name="plugin_captions_default" <?php echo $pro_active ? '' : 'disabled'; checked( '', $plugin_captions_default); ?>>
172 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
173 </label>
174 <label class="input__radio">
175 <input type="radio" value="1" name="plugin_captions_default" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $plugin_captions_default); ?>>
176 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
177 </label>
178 </div>
179 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
180 <p><?php esc_html_e( "Indicates whether the Captions are enabled by default.", "embedpress" ); ?></p>
181 </div>
182 </div>
183 <div class="form__group">
184 <p class="form__label">Plugin: Focus</p>
185 <div class="form__control__wrap">
186 <div class="input__flex">
187 <label class="input__radio">
188 <input type="radio" value="" name="plugin_focus" <?php checked( '', $plugin_focus); ?>>
189 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
190 </label>
191 <label class="input__radio">
192 <input type="radio" value="1" name="plugin_focus" <?php checked( '1', $plugin_focus); ?>>
193 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
194 </label>
195 </div>
196 <p><?php esc_html_e( "Indicates whether the Focus plugin is active.", "embedpress" ); ?></p>
197 </div>
198 </div>
199 <div class="form__group">
200 <p class="form__label"><?php esc_html_e( "Plugin: Rewind", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
201 <div class="form__control__wrap">
202 <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
203 <label class="input__radio">
204 <input type="radio" value="" name="plugin_rewind" <?php echo $pro_active ? '' : 'disabled'; checked( '', $plugin_rewind); ?>>
205 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
206 </label>
207 <label class="input__radio">
208 <input type="radio" value="1" name="plugin_rewind" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $plugin_rewind); ?>>
209 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
210 </label>
211 </div>
212 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
213 <p><?php esc_html_e( "Indicates whether the Rewind plugin is active.", "embedpress" ); ?></p>
214 </div>
215 </div>
216 <div class="form__group">
217 <p class="form__label"><?php esc_html_e( "Rewind Time (In Seconds)", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
218 <div class="form__control__wrap <?php echo $pro_active ? '': 'isPro'; ?>">
219 <input type="number" class="form__control" value="<?php echo esc_attr( $plugin_rewind_time );?>" name="plugin_rewind_time" <?php echo $pro_active ? '' : 'disabled'; ?>>
220 <p><?php esc_html_e( "The amount of time to rewind, in seconds.", "embedpress" ); ?></p>
221 </div>
222 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
223 </div>
224 <?php do_action( 'embedpress_after_wistia_settings_fields'); ?>
225 <button class="button button__themeColor radius-10" name="submit" value="wistia"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
226 </form>
227 </div>
228 </div>
229