[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-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
/
blocks
/
bunny
/
popup
/
stream
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 collections
SET
[ DEL ]
📁 store
SET
[ DEL ]
📁 upload
SET
[ DEL ]
📁 video
SET
[ DEL ]
📄 Footer.js
1,248 B
SET
[ EDIT ]
|
[ DEL ]
📄 Header.js
1,605 B
SET
[ EDIT ]
|
[ DEL ]
📄 Popup.js
3,799 B
SET
[ EDIT ]
|
[ DEL ]
📄 ProgressBar.js
353 B
SET
[ EDIT ]
|
[ DEL ]
📄 ProgressOverlay.js
787 B
SET
[ EDIT ]
|
[ DEL ]
📄 Sidebar.js
4,941 B
SET
[ EDIT ]
|
[ DEL ]
📄 ThumbTemplate.js
1,643 B
SET
[ EDIT ]
|
[ DEL ]
📄 utils.js
1,634 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: Header.js
/** @jsx jsx */ const { __ } = wp.i18n; const { Flex, FlexBlock, FlexItem, Button, FormFileUpload } = wp.components; const { dispatch } = wp.data; import CreateCollection from "./collections/CreateCollection"; import { jsx } from "@emotion/core"; export default ({ afterUpload }) => { return ( <Flex> <FlexBlock> <Flex justify="flex-start"> <FormFileUpload multiple isPrimary accept="video/mp4,video/x-m4v,video/*" onChange={(e) => { if (!e.target.files) { return; } dispatch("presto-player/bunny-popup").addUploads(e.target.files); jQuery(e.target).val(null); }} > {__("Upload Videos", "presto-player")} </FormFileUpload>{" "} <CreateCollection /> {!!afterUpload && afterUpload} </Flex> </FlexBlock> <FlexItem> {/* <Flex align={"stretch"}> <input class="components-text-control__input" type="text" placeholder={__("Search for a video...", "presto-player")} value={search} onChange={(event) => { setSearch(event.target.value); }} /> <Button isPrimary size="small" onClick={(e) => { e.preventDefault(); onSearch && onSearch(search); }} > {__("Search", "presto-player")} </Button> </Flex> */} </FlexItem> </Flex> ); };