Ich verwende Google Docs Viewer zum Einbetten aller Arten von Dokumenten. Allerdings habe ich Probleme herauszufinden, welche Formate wirklich unterstützt werden.Google Doc Viewer: Welche Formate werden wirklich unterstützt?
Auf der offiziellen Docs Viewer-Website (https://docs.google.com/viewer) verlinkt Google auf eine schöne Liste aller unterstützten Formate. Folgende Formate unterstützt werden sollte:
- Google Docs
- Google Sheets
- Google Slides
- Google Forms
- Google Drawings
- Bilddateien (JPEG-, PNG-, GIF-, .TIFF, .BMP)
- Rohbildformate
- Videodateien (WebM, .MPEG4, .3GPP, .MOV, .AVI, .MPE GPS, .wmv, .FLV, Ogg)
- Microsoft Word (.doc und .docx)
- Microsoft Excel (.xls und .xlsx)
- Microsoft Powerpoint (PPT und PPTX)
- Adobe Portable Document Format (PDF)
- Tagged Image File Format (TIFF)
- Scalable Vector Graphics (.SVG)
- Postscript (.EPS, .PS)
- Truetype (TTF)
- XML Paper Specification (.XPS)
- .MTS Dateien
Allerdings, wenn ich versuchen, Bilddateien oder Videodateien zum Beispiel einzubetten ich die berühmte ‚bekommen Leider ist diese Art des Dokuments nicht unterstützt wird für Fehler anzeigen.
Also meine Frage ist: Warum zeigt es nicht diese Dateien und welche Formate werden wirklich unterstützt?
Beispiel: JPEG (nicht funktioniert)
https://docs.google.com/viewer?embedded=true&url=http%3A%2F%2Fwww.fnordware.com%2Fj2k%2Frelax-orig.png
für weitere Beispiele siehe: http://jsfiddle.net/ABcz6/