javascript - Setting allowfullscreen attribute to a div tag -
my question pretty simple. can use attribute allowfullscreen="true" normal <div> element make full-screen?
actually, i'm building custom youtube skin , disabled default controls using youtube iframe api , now, need create new ones in place of them. problem making <iframe> element full screen not allow me place new buttons (obviously outside of iframe) in fullscreen mode. so, please put light in matter.
p.s. - have tried putting allowfullscreen="true" in container <div> , it's working of now. right process of doing have been trying do?
Comments
Post a Comment