Skip to content

Commit 5e97984

Browse files
committed
Fixed type detection
1 parent bd7dca0 commit 5e97984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Embed/Adapters/Webpage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function getType()
120120
return 'video';
121121
}
122122

123-
if (($type = $this->getFromProviders('type', false))) {
123+
if (($type = $this->getFromProviders('type', false)) !== 'link') {
124124
return $type;
125125
}
126126

0 commit comments

Comments
 (0)