Hi,
I'm trying to get the embedder to work. I'm able to display a single file through the anchor tag but I would like to use the embedder. Could not find the answer on this forum unfortunately. The following is not working for me. Is there something I'm missing?
Working on localhost and Wordpress development.
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="appkey"></script>
<script type="text/javascript">
var options = {
// Shared link to Dropbox file
link: "https://www.dropbox.com/sh/tcvwr7atlybzb2f/AAArhYK6_____n8P-SDeRRzZa?dl=0",
file: {
// Sets the zoom mode for embedded files. Defaults to 'best'.
zoom: "best" // or "fit"
},
folder: {
// Sets the view mode for embedded folders. Defaults to 'list'.
view: "list", // or "grid"
headerSize: "normal" // or "small"
}
}
Dropbox.embed(options, element);
</script>
Hoping for some clues.
Many thanks,
Bram