Skip to content

Commit

Permalink
Use HTTPS in YouTube URL
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskonnertz authored Jun 17, 2018
1 parent a8c7850 commit d3acd44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ChrisKonnertz/BBCode/BBCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class BBCode
/**
* The current version number
*/
const VERSION = '1.1.1';
const VERSION = '1.1.2';

/**
* The text with BBCodes
Expand Down Expand Up @@ -442,7 +442,7 @@ protected function generateTag(Tag $tag, &$html, Tag $openingTag = null, array $
case self::TAG_NAME_YOUTUBE:
if ($tag->opening) {
$code = '<iframe class="youtube-player" type="text/html" width="' . $this->youTubeWidth . '"\
height="' . $this->youTubeHeight . '" src="http://www.youtube.com/embed/';
height="' . $this->youTubeHeight . '" src="https://www.youtube.com/embed/';
} else {
$code = '" frameborder="0"></iframe>';
}
Expand Down

0 comments on commit d3acd44

Please sign in to comment.