How To Disable Youtube Cache

I don’t know that it is because of YII cache or youtube. I think it is due to YII cache. The problem i am facing is that i have to embed youtube video in my view page. The embedded code is given below.

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

The problem is the the quesrystring params [rel=0 AND autoplay=1] are truncated from the view automatically. i use this code in simple HTML file and it works like a charm. but in YII views. it is not working. it truncates the params.

Please someone guide me what can be the cause of this.

Well, if you are saying that it is due to Yii cache. then have you confirmed it by disabling cache component in your application.

And by the way how you are embedding this code ?

i have embeded this code into my view file and everything is working fine.And that video is auto played also. nothing wrong with my cache component and all. Please double check your view file.

I am able to a video in my view file.