Skip to content

Commit bda6858

Browse files
authored
Update class.providers.php
1 parent 7cc3aa1 commit bda6858

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/classes/class.providers.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ public function Hostings()
100100

101101
public function getEmbedCode($videoLink, $width = null, $height = null)
102102
{
103+
$provider = $this->decideVideoProvider();
104+
// Plugins need this
105+
$VibeProvider = $provider;
106+
$VibeLink =$this->link;
107+
// End plugins
103108
$this->setDimensions($width, $height);
104109
if ($videoLink != "") {
105110
if (!is_numeric(strpos($videoLink, "http://")) && !is_numeric(strpos($videoLink, "https://"))) {

0 commit comments

Comments
 (0)