I have this iframe code displaying a google documentation document:
<div itemprop="description" class="col-xs-12 no-h-padding" id="article_desc" style="margin:0 auto; width:90%; float:none;"> <iframe src="https://docs.google.com/viewer?url=http://example.com/docs/1.pdf&hl=ar&embedded=true" scrolling="no"></iframe> </div>
iFrame works fine and displays the following iFrame: 
Now I want to change the gray background, as shown in the picture above, to a white background color, I searched for a solution and I came up with this , but it doesn’t work, the background turned white (with my custom css), but google docs didn’t work, and it displayed a message saying that "something went wrong" inside the iFrame.
Does anyone know how I can change the background gray color?
EDIT It works on Google Chrome and Opera, but not on Firefox and Safari.
iframe google-docs google-docs-api
Fadi obaji
source share