Javascript set a base path for a /presentation_content/data.swf
May 18, 2016
Hi I was wondering in the javascript set up for presentations where we can define what a base presentation_content folder lives because my swf can't find it as it assumes it's one level deep.
Our client uploads his presentations so we need the ability to define a base path like we used to in earlier versions of articulate like so:
so.addParam('base', '/content/companyname/presentation/4876fb65-e202-48cf-a40c-edb13a3a8a9a/');
So I managed to get it loading using vRemotePath in flashvars but that's all well and good for loading in presentation.swf and data.swf.. but then inside data.swf the paths are hardcoded with: <asset url="presentation_content/<ID OF SWF FILE>.swf"/> which means none of my slide content can load.
Is there anything I can do about this guys? It was working perfectly in older versions where we set a base path once and everything worked from there!
4 Replies
This post was removed by the author
Hi Tom! While we can't provide support for JavaScript, we certainly welcome discussion and help from our community members!
Hi Crystal,
So how would anyone ever upload multiple presentations to separate folders on a website using this newer version of Articulate?
It seems pretty frustrating that there is no documentation for a pretty common genuine use case?
Hi Tom,
I'm not sure I understand the set up you were previously using, and as Crystal mentioned items like Javascript and modifying the published output are not elements our team can offer support for.
The main published output folder should include the title of the course, and then within the folder you'll see similar file/folder names as you indicated - but since those are inside a larger folder at the top level - that should be what your server or LMS is referencing from.
If you're able to share a bit more information here about the structure of your site and how you were previously uploading content perhaps someone in the community with a similar set up will be able to assist.
Hi!
We have the following:
/content////
The problem is even defining:
var g
This discussion is closed. You can start a new discussion or contact Articulate Support.