Yendif Player support PHP 7.2

  • Posts: 2

Yendif Player support PHP 7.2 was created by pollyolly

Hello here's a quick fix for yendif player plugin in wordpress to support php7.2.

File: wp-content/plugins/yendif-player/public/views/player/view.html.php

function load_player($attributes, $config, $players){
//$media = 'video'; comment out this line
$media = array();
$media[0] = 'video';
//now change the variables inside of this function $media to $media[0]
}

next...

private function playlist( $attributes, $media , $style ) {
//find the variable $obj = '';
//change it to
$obj = array();
}

I believe this is not the complete solution. I only used the playlist features for video and audio using the generated shortcode.
The following user(s) said Thank You: Administrator
5 years 9 months ago #2062

Please Log in or Create an account to join the conversation.

Time to create page: 0.099 seconds

Business Address

PLUGINSWARE INTERACTIVE PVT LTD
Door No 2A, Venkateshwara Nagar,
1st Main Road, Velachery, Chennai,
Tamilnadu, India
Pincode: 600042
© 2013 - 2024 Pluginsware Interactive Private Limited. All Rights Reserved. The Joomla! name and logo is used under a limited license granted in the United States and other countries.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.