You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
bspindia
2 years agoHelpful | Level 7
Dropbox Embeder
able to embed pdf using anchor tags
but getting error as Drobox is not defined when trying to embed using Drobox(option,element)
Здравко
2 years agoLegendary | Level 20
bspindia, Are you sure keep still set up the Embedder properly? 🤔 Make sure you put in the "dropins" script, at least (the Dropbox object comes from there).
PS: Make sure you remove all possible typos in your code! 😉 (Drobox ≠ Dropbox)
- bspindia2 years agoHelpful | Level 7
if i wouldn't appended the dropoin script to body, how would anchor tag embed will work ?
function textBookLibrary(){$(".mNavCntnt").empty();$(".mNavCntnt").append($("<div>").attr('class','tbContainer').append($("<div>").attr('name','subject').text("Health and Physical Science"),$("<div>").attr("name",'chapter').append($("<span>").text("Chapter 1")),$("<a>").attr({//'height':'400px','width':'200px',//'frameborder':'0','class':'tbLesson','type':'application/pdf',//'src':'assets/textBooks/jehp1ps.pdf',}).addClass('dropbox-embed')))/*let options = {// Shared link to Dropbox filefile: {// 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,$(".tbLesson"));*/
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,902 PostsLatest Activity: 17 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!