none
Using view.officeapps.live.com in IFrame will not launch the preview in same IFrame if use in Mobile

    Question

  • HI,

    We are planning to use the Document View (PPT, Excel, and Doc) in Browser inline view hence using the "https://view.officeapps.live.com/op/view.aspx?src=<MyDocURL>" as below.

    <html>
    <body>
    <p> Microsoft Office document inline view</p></br> </br>
    <div style="  overflow-x: hidden; -webkit-overflow-scrolling: touch; height:500px;">
    <iframe src="https://view.officeapps.live.com/op/view.aspx?src=<MyDocURL>"></iframe>
    </div>
    </body>
    </html>

    When I launch the same in Desktop Browser it is working as expected. i.e. It will launch in the office document in IFrame as specified.

    But when I use the same in Mobile Browser it is opening the office document in the Browser (Browser URL is replaced with Microsoft URL) instead of IFrame as specified.

    Please help on this.

    Thanks,

    Naga

    Tuesday, December 19, 2017 4:49 PM