Skip to content

Commit

Permalink
Bulk embed youtube videos test
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel authored and daniel committed Jul 13, 2019
1 parent 748074a commit 743476b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/BulkEmbed/save.json.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
$info = url_get_contents($config->getEncoderURL() . "getLinkInfo/" . base64_encode($value));
$infoObj = json_decode($info);
$filename = uniqid("_YPTuniqid_", true);
$obj = new Video();
$videos = new Video();
$videos->setFilename($filename);
$videos->setTitle($infoObj->title);
$videos->setClean_title($infoObj->title);
Expand Down

0 comments on commit 743476b

Please sign in to comment.