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

Hello, do you know how to enter the YouTube API to place the keys and do not have any problems with this application?


I don’t know why they make things so difficult for developers,
they’ll just drive us to alternative distribution platforms.


Because there are 1000000 of apps with no usecase. Theese apps are only earning apps. The most of them from india. You click a button in the app ad you have to look a video. the app starts and you see a video with clock they play video ads.
Than we have 10000 aps which dont protect user data.Apps like this are a high risk for your privacy.
Than we have a lot of apps which make problems if you use them,
Than other videos make hidden ads like you taked about such plattforms like youtube or others.
Google allowed only in app purchase with their own component, bc google loose money if you use other third party services.
Ànd they dont like it to loose money.

We have now GPDR which makes it hard for app developers to make your app comply with that.

To use OneSignal in for EU Users can be a Problem bc OneSignal treck a lot of Data in your app. And a user cannot delete his collected data. We dont know all things what ONE Sognal collect in our app.
And as i told the new GPDR in the EU want that a user can delete all collected data which is not possible bc it is not in our hands. And it is not allowed to collect user data which can identifier which user uses that app.
All generated apps uses crashlytics which could also we a problem, bc we dont know what the third party services collect. If you publish your app in the play store your have to write a term of use with alll Information what your app collect about each user. And we dont know it what that service collcet from our apps. I think we need some rules or the play store is full of xxx apps and apps which show you 10000 of ads and banners and collect your data to sell theese data to other companies.
But there are a few rules which are stupid and unuseful like it is not allowed to make a button or a label where a user can spend you some dollar or so for using your app for a coffee or so.
If you use the word donation or so your app wil be rejected.
It is only allowed to get a donation if you are a donation company.
I dont know what is the problem to have a donation button or label with a bitcoin adress or a paypal adress and user which like your app can spend you a few dollars (how much they want it is not a have to).
Than they make troubles if you wrote the word twitter in it or yourtube or other which is aszoiated with google or so.
(hiiden ads)
and there are much more stupid rules.
But ok it is your plattform they will know what they do.
10000 of apps are not published in play store bc youtube will delete the developer account if they see what such aps collect and do with ads.