Forum Discussion

LouisWilkinson's avatar
LouisWilkinson
Community Member
10 years ago

Can I insert a PDF into a course slide?

Hi All, 

Does anyone know if I can add a PDF document to be viewed as a slide?

I want to insert a glossary into my course and I would like to do this using a lightbox slide which contains a table which is pdf's word doc.

I can't see an option to insert a doc so I'm wondering whether this is not something that is achievable in Storyline?

Thanks,

Louis 

  • Hi Team,

    I have a PDF file which, need to be uploaded in either Rise or Storyline 360 to convert that PDF to interactive course and need to publish that so that can play in any LMS. Would you suggest the process for this?

     

  • Hey Will,

    Are you able to host your PDF on a web server so you can access it on the web from a URL? If so, you could use the URL to embed the PDF in a Storyline Web Object. 

  • AliZhanje's avatar
    AliZhanje
    Community Member

    I've tried adding a web object and it's not working. I'm publishing and nothing. Every time I click the "button" it takes me back to the "home" slide. Please help! I'd love to make this happen and hav ethe PDF open in a lightbox.

  • VinceScoma's avatar
    VinceScoma
    Community Member

    Hey Ali,

    Sorry to hear you are running into this snag here! May I ask how the web object was added to your course? Is the file located online or is it stored on your local computer? 

    • AliZhanje's avatar
      AliZhanje
      Community Member

      Hi Vincent,

      I've tried both ways and neither work. 

      • VinceScoma's avatar
        VinceScoma
        Community Member

        Hey Ali,

        Thank you for letting me know!

        What kind of hyperlink are you using for the PDF file? Is it an HTTP link? If so, you will want to be sure the content is being hosted on a secure site. 

        If it is hosted on a secure site but you are still not able to see the PDF file, please let me know! 

  • ernestprevent's avatar
    ernestprevent
    Community Member

    I have published a good number of documents as web objects and it is working pretty well. However! They don't render in safari, users just get a greyed out box. Has anyone else encountered this/found a solution?

    • VinceScoma's avatar
      VinceScoma
      Community Member

      Hey Katie,

      That is odd that your learners see a greyed-out box when using Safari. I tested this out in a demo course with a PDF web object, and it appeared fine for me. 

      Is this happening for every course that is viewed in Safari or just a couple of courses? What might be happening here is that the hosting website where the documents are located are not secure

      With your permission, could you share the troublesome .story files in this thread here for further troubleshooting? If you prefer to send them privately, please feel free to connect with our Support Engineers! We'll let you know our findings and will delete it after having a closer look.

      • ernestprevent's avatar
        ernestprevent
        Community Member

        HI Vincent,

        Good call - I think you are right. I am running two separate instances of Blackboard and the content works in one and not the other.

        The one in which the content works has the little padlock in the search bar and the other doesn't so I guess I need to sort that out with our technical team.

        Thanks for the nudge though!

        Katie

  • Hi I'd like some help with this! It should be very basic but I cannot work out how to link to a PDF file (currently stored on my PC) using an object that the user clicks on to open the PDF in a new tab! The published file will be delivered via an LMS.

    I was told and have seen from googling that when you create the link (using the trigger) Storyline apparently stores the PDF file within the published output files - however this is not the case. There's no external file content in there!

    I've tried using the resources within the player which isn't although isn't ideal (as we really don't want the resources tab visible in the course) it still didn't work. I've tried copying the files to the published output folder but that still doesn't work! Help please!

    Also as I've been reading through this thread the lightbox feature sounds like a great idea - but that earlier link doesn't work - would be great if that could be explained too! Would it work to allow the user to download a copy of the PDF to their device?

    Thanks

    • RebeccaMcGlynn-'s avatar
      RebeccaMcGlynn-
      Community Member

      I just worked it out! I thought I'd tried everything,... Just in case anyone else needs this: I saved the trigger file name as story_content/filename.pdf then in the zipped output open the story_content folder (which doesn't include an external files folder) add the document (with the same file name there). Relieved - it's been annoying me for ages...

      • BrianAnderso490's avatar
        BrianAnderso490
        Community Member

        I'm posting this because I just spent most of a day trying to get this to work.  I think it may be a bug, but before I submit it, I'll clarify what Rebecca was saying above.

        I'm embedding a .pdf into my .story file by using a web object that references an index.html file - both files are on my local drive, but I want them wrapped up in the Storyline export because I don't have a web server to host them on.  However, when I publish the file, the .pdf will only display if I have it on my local drive in the exact same folder it was in before.  Storyline is publishing with an absolute path, not relative, and it's pointing to my C: drive.

        I go digging around in the published folder structure, and I notice there aren't any subfolders under the story_content directory, which is odd, because if there are files to be included, that's where they should be located.  I published and re-published a dozen times, moving files around, changing names, etc, etc, when I came across Rebecca's post.  At this point, I didn't have anything to lose, so I tried moving the index.html and the .pdf files into an arbitrary folder named story_content, and then published my file.  POW - the published story_content folder now had a WebObjects subdirectory, and further down, I found my two files in there:

        Basically, if you're having trouble with Storyline including content for a web object, this might be your solution.  Create a random story_content folder and drop your web object content in, then publish.  It seems to force Storyline to create the folder structure it needs to in order to embed those files.

  • Hi Rodney,

    It looks like you are replying to Katie's issue and further reading shows that she seemed to have a mixed security issue.

    With your permission, I'd like to take a look at your project file to investigate what's happening. You can share it publicly here, or send it to me privately by uploading it here. I'll delete it when I'm done troubleshooting.

  • Hi, AV.  The video demonstration is uploaded here as an attachment.  When I tested, clicking the video link downloads directly to my hard drive.  It doesn't live out on the Internet anywhere at this time (although maybe I should add an eLearning channel to my YouTube presence?).  

    If it doesn't work for you at all, let me know and I'm happy to get it to you.  

    By the way, the trick definitely does work, but you have to be careful with the funky file structure once you've published.