pro100light
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
This bug have in all 5.3.0 You must edit acf\assets\css\acf-global.css . And Change acf\assets\images\sprite.png . like in old wersion.
Forum: Plugins
In reply to: [ACF YouTube Picker] TimeI add this
in youtubepicker.php
public static function duration ( $vid, $apikey ) { if( $vid = self::is_vid( $vid ) ) { $dur = file_get_contents("https://www.googleapis.com/youtube/v3/videos?part=contentDetails&id=$vid&key=$apikey"); $VidDuration =json_decode($dur, true); foreach ($VidDuration['items'] as $vidTime) { $VidDuration= $vidTime['contentDetails']['duration']; } // convert duration from ISO to M:S $date = new DateTime('2000-01-01'); $date->add(new DateInterval($VidDuration)); return ( $date->format('i:s') ); } }in acf-youtubepicker-v5.php
LINE: 537'duration' => html_entity_decode( youtubepicker::duration( $v['vid'], $field['api_key'] ) )use like this: $video[‘duration’]
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] two Heders in tableSorry… I will wait for the new version =) Thank you for your answer, and for a cool addon!
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] two Heders in tableHm… But y don’t have interval. It’s random.
Viewing 4 replies - 1 through 4 (of 4 total)