SO SORRY! I did not see this.
My use case is something like this...
- Use slugs to pull in data from cms.
- Have an embedded HTML block that needs access to some or all of the resources pulled in from the cms.
- Use the resources to set attributes in the embedded html (such as img src) or as a parameter value in a javascript function.
A simplified actual example would be an audio backed slide show.
I have javascript code that can play an audio and at various timestamps, replace the src of an img.
When running that in a standard html pages, I can pass a script the audio file path and an array of image paths and timestamps.
The audio begins playing and as each timestamp from the array hits, the corresponding image is shown.