Skip to content

Commit

Permalink
Update YoutubeEmbed.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlnchv authored May 22, 2019
1 parent b9795e7 commit 3d5e6da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DataObjects/YoutubeEmbed.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3d5e6da

Please sign in to comment.