Hi all,
I have seen other people show entire pdf pages on their portal, but I can't make it work for me. (I have no programming knowledge but can copy/paste!)
I am trying to make a pdf appear within an accordion, but as you can see in my attempts it either appears as an image link or an http link: https://vikings-jaa.obsidianportal.com/wikis/setting
Can someone help me with whatever code I can put around pdf link so that it shows up?
Thanks in advance!
Frak
twitter: @Frak_Lou_Elmo
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
I think this will work:
<div class='oembed'><a href='https://db4sgowjqfwig.cloudfront.net/campaigns/239568/assets/1119854/your_world.pdf?1602245017'></a></div>
(The forums don't handle HTML well, and sometimes add unnecessary characters, so you can delete the ";" at the end.)
If you need it to be taller, you can adjust the height with css. (Feel free to ask if you're not sure how to do that.)
Obsidian Portal Developer
thanks! it works great now.
twitter: @Frak_Lou_Elmo
Excellent!
Obsidian Portal Developer