[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
presto-player
/
src
/
admin
/
blocks
/
shared
/
presets
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 parts
SET
[ DEL ]
📄 ActionBar.js
9,233 B
SET
[ EDIT ]
|
[ DEL ]
📄 Behavior.js
5,564 B
SET
[ EDIT ]
|
[ DEL ]
📄 CTA.js
10,729 B
SET
[ EDIT ]
|
[ DEL ]
📄 Controls.js
4,779 B
SET
[ EDIT ]
|
[ DEL ]
📄 Edit.js
10,235 B
SET
[ EDIT ]
|
[ DEL ]
📄 Email.js
7,520 B
SET
[ EDIT ]
|
[ DEL ]
📄 Preset.js
6,565 B
SET
[ EDIT ]
|
[ DEL ]
📄 Search.js
3,832 B
SET
[ EDIT ]
|
[ DEL ]
📄 Style.js
2,114 B
SET
[ EDIT ]
|
[ DEL ]
📄 Watermark.js
4,043 B
SET
[ EDIT ]
|
[ DEL ]
📄 index.js
3,615 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: Style.js
/** * WordPress dependencies */ const { __ } = wp.i18n; const { ToggleControl, BaseControl, RangeControl, SelectControl, ColorPicker } = wp.components; import { css, jsx } from "@emotion/core"; export default function ({ state, updateState, className }) { return ( <div className={className}> <BaseControl> <h3>{__("Style", "presto-player")}</h3> </BaseControl> <BaseControl> <ToggleControl label={__("Hide Logo", "presto-player")} help={__("Hides the logo on this video.", "presto-player")} onChange={(hide_logo) => { updateState({ hide_logo }); }} checked={state.hide_logo} /> </BaseControl> <BaseControl> <RangeControl label={__("Round Corners", "presto-player")} help={__("Player border radius size.", "presto-player")} value={state?.border_radius || 0} onChange={(border_radius) => updateState({ border_radius })} min={0} max={25} css={css` padding-left: 4px; .components-range-control__root { align-items: flex-start; } `} /> </BaseControl> <BaseControl> <SelectControl label={__("Caption Style", "presto-player")} labelPosition="top" value={state?.caption_style} options={[ { label: __("Default", "presto-player"), value: "default" }, { label: __("Full", "presto-player"), value: "full" }, ]} onChange={(caption_style) => { updateState({ caption_style }); }} /> </BaseControl> <BaseControl> <BaseControl.VisualLabel> <p>{__("Caption Background", "presto-player")}</p> </BaseControl.VisualLabel> <ColorPicker color={state?.caption_background || "#000000"} onChangeComplete={(value) => { updateState({ caption_background: value.hex }); }} disableAlpha /> </BaseControl> </div> ); }