[ 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
/
inc
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 Blocks
SET
[ DEL ]
📁 Contracts
SET
[ DEL ]
📁 Database
SET
[ DEL ]
📁 Integrations
SET
[ DEL ]
📁 Libraries
SET
[ DEL ]
📁 Models
SET
[ DEL ]
📁 Seeds
SET
[ DEL ]
📁 Services
SET
[ DEL ]
📁 Support
SET
[ DEL ]
📁 config
SET
[ DEL ]
📁 lib
SET
[ DEL ]
📄 Activator.php
511 B
SET
[ EDIT ]
|
[ DEL ]
📄 Attachment.php
7,513 B
SET
[ EDIT ]
|
[ DEL ]
📄 Controller.php
850 B
SET
[ EDIT ]
|
[ DEL ]
📄 Core.php
1,179 B
SET
[ EDIT ]
|
[ DEL ]
📄 Deactivator.php
3,065 B
SET
[ EDIT ]
|
[ DEL ]
📄 Factory.php
2,960 B
SET
[ EDIT ]
|
[ DEL ]
📄 Files.php
6,912 B
SET
[ EDIT ]
|
[ DEL ]
📄 Playlist.php
1,935 B
SET
[ EDIT ]
|
[ DEL ]
📄 Plugin.php
2,415 B
SET
[ EDIT ]
|
[ DEL ]
📄 Requirements.php
2,030 B
SET
[ EDIT ]
|
[ DEL ]
📄 support.php
155 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: Playlist.php
<?php namespace PrestoPlayer; use PrestoPlayer\Services\ReusableVideos; use PrestoPlayer\Blocks\AudioBlock; use PrestoPlayer\Blocks\SelfHostedBlock; use PrestoPlayer\Blocks\VimeoBlock; use PrestoPlayer\Blocks\YouTubeBlock; use PrestoPlayer\Pro\Blocks\BunnyCDNBlock; class Playlist { /** * Parses the attributes with respect to the provider. * * @param string $block_name Block name. * @param array $attributes Attributes of the block. * * @return array */ public function parsed_attributes( $block_name, $attributes ) { $attributes = wp_parse_args( $attributes, array( 'id' => '', 'src' => '', 'title' => '', 'provider' => '', 'class' => '', 'custom_field' => '', 'poster' => '', 'preload' => 'auto', 'preset' => 0, 'autoplay' => false, 'plays_inline' => false, 'chapters' => array(), 'overlays' => array(), 'tracks' => array(), 'muted_autoplay_preview' => false, 'muted_autoplay_caption_preview' => false, ), ); switch ( $block_name ) { case 'presto-player/self-hosted': return ( new SelfHostedBlock() )->getAttributes( $attributes, '' ); case 'presto-player/youtube': return ( new YouTubeBlock() )->getAttributes( $attributes, '' ); case 'presto-player/vimeo': return ( new VimeoBlock() )->getAttributes( $attributes, '' ); case 'presto-player/bunny': return class_exists( BunnyCDNBlock::class ) ? ( new BunnyCDNBlock() )->getAttributes( $attributes, '' ) : ''; case 'presto-player/audio': return ( new AudioBlock() )->getAttributes( $attributes, '' ); } } }