diff --git a/src/DataObjects/YoutubeEmbed.php b/src/DataObjects/YoutubeEmbed.php index 1ecf6b3..492474a 100644 --- a/src/DataObjects/YoutubeEmbed.php +++ b/src/DataObjects/YoutubeEmbed.php @@ -20,6 +20,10 @@ class YoutubeEmbed extends DataObject private static $has_one = [ 'Poster' => Image::class, ]; + + private static $owns = [ + 'Poster', + ]; public function getIsMobile() { $os = new Os();