Last active
June 24, 2019 18:56
-
-
Save Daniil-Solovyev/5f4e742b45cbbc0071d0d3f3ef7967ac to your computer and use it in GitHub Desktop.
Youtube iframe in bootstrap modal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<object width="640" height="360"> | |
<param name="movie" value="http://www.youtube.com/embed/<?= $model->link ?>?html5=1&rel=0&hl=en_US&version=3"/> | |
<param name="allowFullScreen" value="true"/> | |
<param name="allowscriptaccess" value="always"/> | |
<embed width="640" height="360" src="http://www.youtube.com/embed/<?= $model->link ?>?html5=1&rel=0&hl=en_US&version=3" class="youtube-player" type="text/html" allowscriptaccess="always" allowfullscreen="true"/> | |
</object> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment