Playing YouTube Videos!


There is no fullscreen button on the video to switch to full screen. Anyway to make it play in fullscreen?


how can get embed code for channel ?
not play list , which are as below

get embed code for playlist code here
but getting any where for channel .any one can guide me


Please be more considerate… I’m sorry but please dont try to spam questions. As for your problem, you can use jquery solution. Use google for that.


Why this video link is not being auto-play on the phone, when this link is playing auto on the laptop .
< iframe width=“560” height=“315” src=“” frameborder=“0” allowfullscreen>


Sí, pero Andres. Los de Google Play me echaron una App para atrás por utilizar tu extensión de youtube. Algo hay que no permiten.


Si pasa videos con derecho tienes dificultades


my application rejected by youtube device and network abuse policy (Because of my youtube video playing in background, when i press home button).

Is it possible to pause youtube video when (I am use webview + iframe to display video) device home button press and application go to background. or when phone screen locked.

any possible solution ??? (Ex. block code sample, java script, youtube api or anything else)


@Hossein thanks for this solution to embed video on webview.
@Andres_Cotes for multi device support i set “Height” and “Width” as Screen size for better result.

example: blocks


The same problem as me. App rejected because my video is playing in the background. And i used the word youtube and twitter in my app. And to use this word is a hidden ad they told me also. They told me it is not allowed to use the word youtube or twitter in the APP without any allowed. And second problem was that the video is running in the background. Same problem as you.
I make a Screenshot from the video and make a link to the video because everything what i tried was not good enought for google. Each time a different problem, Problem with the sound. The sound does only stop if you click stop. And a few other things. Google made a lot of problems with upload a app. Be careful there are 100000 things what is not allowed. No afiliate Links, no referal links, dont use the viewer for other pages than yours. Really use only your homepage dont use another homepage or your app will be rejected. It is not allowed to use other pages in the viewer without a lizenz to use this Website and so on.

How to create many webviewer in same screen