Skip to content

Commit 72a788a

Browse files
committed
improved code detection in opengraph
1 parent 1b5a92b commit 72a788a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Providers/OpenGraph.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ public function getCode()
111111
$images = $this->getImagesUrls();
112112

113113
return Utils::videoHtml(current($images), $video, $this->getWidth(), $this->getHeight());
114+
115+
case 'text/html':
116+
return Utils::iframe($video, $this->getWidth(), $this->getHeight());
114117
}
115118
}
116119
}

0 commit comments

Comments
 (0)