Youtube iframe video issue

Youtube iframe video issue

BY 08 Nov 2013 Web Application Development

Hello guys,

I am using i frame to play you tube video in my tizen jquery mobile app. When i am using  width=”640″ height=”385″  then video is playing fine in the emulator, but if use  width=”auto” height=”385″  or  width=”auto” height=”auto”  then only audio is playing and video is not visible. only black screen is visible in the frame.

  <div data-role=”content” >
       <iframe class=”youtube-player” type=”text/html” width=”640″ height=”385″ src=”http://www.youtube.com/embed/yeF_b8EQcK0?html5=1″ frameborder=”0″> </iframe>

</div>

Can any body please tell me why this is happning.

Thankyou

Written by