I want to create custom BBCode for Youtube that will allow the user to open a full-screen video on my website. When I hover over a "full-screen" button it says:
full screen is unavailable
I tried to add these attributes to my code: frameborder="0" allowfullscreen
, and some other combinations, but to no avail.
<object width="596" height="335">
<param name="movie" value="https://www.youtube.com/v/WPni755-Krg">
</param>
<embed
src="https://www.youtube.com/v/WPni755-Krg"
type="application/x-shockwave-flash" width="596"
height="335">
</embed>
</object>