- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2016 01:06 PM
I've uploaded several videos .. to include .avi .mov and and not been successful with their reply. With IE the following is what I see:
And with Chrome
I do not want to simply 'link' to a video but store the video on the instance. Any help would be appreciated.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2016 07:45 AM
I did some digging and determined that the primary cause of (at least the Flash - SWF) videos not being available is the HTML Sanitizer. ServiceNow is configured OOB to sanitize ALL HTML and Translated HTML fields, which includes Knowledge Articles.
I changed the Dictionary Attributes value on the Text field in kb_knowledge to: serializer=com.glide.script.TranslatedTextXMLSerializer,html_sanitize=false
I then changed the System Property: glide.translated_html.sanitize_all_fields to false.
Repeat testing proved successful, and SWF-format files (this is what I had to test with) are linking to KB Articles successfully.
I don't know if this is a recommended solution, but it seemed the alternative was to modify the HTML Sanitizer itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2016 05:25 AM
Am wondering if I can get a reply from the ServiceNow folks? There seems to be several other posts having the same type of issue ... that being storing video on the ServiceNow Instance, etc. What are we doing wrong ... or ... is there an issue with doing this?
Thanks,
Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2016 07:45 AM
I did some digging and determined that the primary cause of (at least the Flash - SWF) videos not being available is the HTML Sanitizer. ServiceNow is configured OOB to sanitize ALL HTML and Translated HTML fields, which includes Knowledge Articles.
I changed the Dictionary Attributes value on the Text field in kb_knowledge to: serializer=com.glide.script.TranslatedTextXMLSerializer,html_sanitize=false
I then changed the System Property: glide.translated_html.sanitize_all_fields to false.
Repeat testing proved successful, and SWF-format files (this is what I had to test with) are linking to KB Articles successfully.
I don't know if this is a recommended solution, but it seemed the alternative was to modify the HTML Sanitizer itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2018 10:03 AM
Where do you change the system property?