Embedded YouTube videos not resizing to fit window
![ben](https://flatboard.org/uploads/avatars/generates/6f6ce8378x50dot.png)
Embedded YouTube videos not resizing to fit window
ben@d7ab5755 Monday 17th July 2023, 00:38:18I was happy to see that embedding YouTube videos work great by using the following tags in a forum post
Minus the *
But on my forum and on this forum also, the video overflows the page and won't resize properly when viewing the post both on the blog or from a forum post when viewing it from a mobile device. It looks fine from a desktop PC though.
Not sure where to look to fix this, is the file that controls this part of the bootstrap template CSS or a PHP file?
Here's an example:
Minus the *
[*youtube]KF0gsbQKhD8[/youtube]
But on my forum and on this forum also, the video overflows the page and won't resize properly when viewing the post both on the blog or from a forum post when viewing it from a mobile device. It looks fine from a desktop PC though.
Not sure where to look to fix this, is the file that controls this part of the bootstrap template CSS or a PHP file?
Here's an example:
Last modified by ben@d7ab5755 on Monday 17th July 2023, 00:41:00
Replies 3
![Tillreetree](https://flatboard.org/uploads/avatars/generates/04db9b531x50dot.png)
file location:
search:
replace with:
example::
lib/BBcode.lib.php
search:
iframe width="560" height="315"
replace with:
iframe style="width: 100%;height: 500px;"
example::
<iframe style="width: 100%;height: 500px;" src="//www.youtube.com/embed/' .$match[1]. '" frameborder="0" allowfullscreen></iframe>
![Ben](https://flatboard.org/uploads/avatars/generates/05affe662x50dot.png)
![Tillreetree](https://flatboard.org/uploads/avatars/generates/04db9b531x50dot.png)
Suggested Topics
![augras](https://flatboard.org/uploads/avatars/generates/c4cf36cb7x50dot.png)
augras@80fe87d7
started solved Bugs après maj 2.5 vers 3.02
International Discussions
![boh](https://flatboard.org/uploads/avatars/generates/36560f95fx50dot.png)
boh@04ec546f
started CSS Help With Bootstrap Theme
General Questions
![JesusGod-Pope666](https://flatboard.org/uploads/avatars/generates/73973aa0dx50dot.png)
JesusGod-Pope666@c1adcbb2
started I'm just looking around and thinking
General Questions
![RED-LINE](https://flatboard.org/uploads/avatars/generates/a5b7a5024x50dot.png)
RED-LINE@42796168
started [MINIMALISM] Thoughts on the main features of CMS
General Questions