Adding Javascript to SmarterTrack KB articles?
Question asked by Nathalie V - February 23, 2016 at 11:37 AM
How does one add javascript into a KB article that needs to inject video?
For example, we want to embed videos from a service we subscribe to, and needt to be able to add something like this (on top of the actual code we would paste as the source in the KB itself for the video)
<script type="text/javascript" src="domain.com/location/jquery.colorbox.js"></script>
I believe this would need to be done in a master page/template somewhere, so I'm asking where we should do this, and if this change would get overwritten when we update Smartertrack?

1 Reply

Reply to Thread
Matthew Kides Replied
February 23, 2016 at 12:12 PM
Employee Post
Hello Nathalie,
We currently do not support injecting javascript into kb articles as doing so can be a security risk. As an alternative the editor has a option to embed videos from common sources that may work. Or you can see if your video provider supports embedding the video through an iframe or a video tag.
Matthew Kides
SmarterTools Inc.
(877) 357-6278

Reply to Thread