uawdijnntqw1x1x1
IP : 3.144.136.254
Hostname : c17w.hoster.ru
Kernel : Linux c17w.hoster.ru 3.10.0 #1 SMP Tue Jan 25 12:49:12 MSK 2022 x86_64
Disable Function : dl,shell_exec,exec,system,passthru,popen,proc_open,proc_nice,proc_get_status,proc_close,proc_terminate,posix_mkfifo,chown,chgrp,show_source,opcache_reset,opcache_get_configuration,opcache_get_status
OS : Linux
PATH:
/
home
/
srv221441
/
kso-don.ru
/
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, '' ); } } }
/home/srv221441/kso-don.ru/wp-content/plugins/presto-player/./inc/Playlist.php