We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b2a2e1 commit a7f05abCopy full SHA for a7f05ab
README.md
@@ -42,8 +42,11 @@ if ($video->isEmbeddable()) {
42
//Will echo the embed html element with the size 200x200
43
echo $video->getEmbedCode(200, 200);
44
45
- //Returns the embed html element with the size 1920x1080 and autoplay enable
+ //Returns the embed html element with the size 1920x1080 and autoplay enabled
46
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);
50
}
51
52
//If you don't want to check if service provides embeddable videos you can try/catch
0 commit comments