Skip to content

Commit c9ba992

Browse files
author
Marco Pereirinha
committed
Get the video settings instead
1 parent 30916cf commit c9ba992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/media/class-video.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Video {
7676
*/
7777
public function __construct( Media $media ) {
7878
$this->media = $media;
79-
$this->config = $this->media->get_settings()->get_setting( $media::MEDIA_SETTINGS_SLUG )->get_value();
79+
$this->config = $this->media->get_settings()->get_setting( 'video_settings' )->get_value();
8080

8181
$this->setup_hooks();
8282
}

0 commit comments

Comments
 (0)