After I add option autoplay of youtube ,I can't see the ads -


when write youtube iframe tag autoplay this,

<iframe width="560" height="315" src="https://www.youtube.com/embed/t_gcnf9-qw0?showinfo=0" frameborder="0" allowfullscreen></iframe> 

i can see ad while video playing but, when

<iframe width="560" height="315" src="https://www.youtube.com/embed/t_gcnf9-qw0?showinfo=0&autoplay=1" frameborder="0" allowfullscreen></iframe> 

i can't see ads. added autoplay=1.

how can see ads autoplay ?

i don't see error code. may check documentation shows how set autoplay properly. noted in mobile browsers (such chrome , safari), html5 element allows playback take place if it's initiated user interaction (such tapping on player). stated in link, functions , parameters such autoplay, playvideo(), loadvideobyid() won't work in mobile environments due restriction.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -