You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Currently **getUrl** contains a parameter with an encrypted token that can only be used with your application. However, this may change in the near future and you may be asked to add an auth header as you do with other requests.
53
56
57
+
54
58
## Use the URL in an `iframe`
55
59
56
60
The next step is simply to use the URL obtained in the previous step in a new page. You could have an endpoint in your application that serves a new page as similar to this one:
@@ -98,11 +102,3 @@ async function preview(driveId, itemId) {
98
102
document.getElementById('preview').src= response +"&nb=true"; //Use nb=true to suppress banner
99
103
}
100
104
```
101
-
102
-
## Remarks
103
-
104
-
Embedded Preview is an offering from OneDrive. It is possible to remove the 'OneDrive' banner by adding the parameter `nb=true` to the url. E.g.
0 commit comments