Skip to content

Commit a7f05ab

Browse files
Update README.md
1 parent 4b2a2e1 commit a7f05ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ if ($video->isEmbeddable()) {
4242
//Will echo the embed html element with the size 200x200
4343
echo $video->getEmbedCode(200, 200);
4444

45-
//Returns the embed html element with the size 1920x1080 and autoplay enable
45+
//Returns the embed html element with the size 1920x1080 and autoplay enabled
4646
echo $video->getEmbedCode(1920, 1080, true);
47+
48+
//Returns the embed html element with the size 1920x1080, autoplay enabled and force the URL schema to be https.
49+
echo $video->getEmbedCode(1920, 1080, true, true);
4750
}
4851

4952
//If you don't want to check if service provides embeddable videos you can try/catch

0 commit comments

Comments
 (0)