Skip to content

Commit

Permalink
Merge pull request #5 from service-paradis/youtube-fix
Browse files Browse the repository at this point in the history
Youtube parser fixes
  • Loading branch information
dusterio authored Sep 4, 2016
2 parents b75f08b + de0de16 commit d475af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parsers/YouTubeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function parseLink(LinkInterface $link)
$this->getPreview()
->setId($matches[1])
->setEmbed(
'<iframe id="ytplayer" type="text/html" width="640" height="390" src="http://www.youtube.com/embed/'.$this->getPreview()->getId().'" frameborder="0"/>'
'<iframe id="ytplayer" type="text/html" width="640" height="390" src="//www.youtube.com/embed/'.$this->getPreview()->getId().'" frameborder="0"></iframe>'
);

return $this;
Expand Down

0 comments on commit d475af2

Please sign in to comment.