I'm using Google Docs Viewer that is embedded in iFrame.
It's showing .xls, .xml, .csv files fine, but when trying to view .xlsx file it fails (as shown in screenshot)
I specify two links for testing:
http://docs.google.com/viewer?url=http%3A%2F%2F______.__%2Fuploads%2FBook1.xlsx&embedded=true
http://docs.google.com/viewer?url=http://justinas.tk/uploads/Book1.xlsx&embedded=true
iFrames are appended using this jQuery
preview.append('<iframe src="http://docs.google.com/viewer?url=' + encodeURIComponent('http://______.__/uploads/Book1.xlsx') + '&embedded=true"></iframe>');
preview.append('<iframe src="http://docs.google.com/viewer?url=' + 'http://______.__/uploads/Book1.xlsx' + '&embedded=true"></iframe>');
As specified here Google Docs Viewer support .xlsx files. What is wrong here?