html5 - Full screen in embedded videos from Youtube -


i want see screen full of embedded video getting black borders on left , right have included allow full screen in coding also.how remove borders , see stretched video? attaching code , screen shot .!screen shot of borders<iframe id="vid" width="100%" height="100%" src="https://www.youtube.com/embed/rdih8givr9i?autoplay=1&amp;modestbranding=0&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;allowfullscreen=true"></iframe></div>

the answer more complicated. "allowfullscreen" there displaying "fullscreen" button. (although it's kind of strange)

to make behave want to, have @ this explanation
(the section "<iframe>")

basically, need put video in div full width of website (what did) , css magic make correct height.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -