Am wondering if someone has been successful in storing a video file in the db_video table ... and ... be able to replay that video with Chrome or IE?

edwardkester1
Kilo Contributor

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:

find_real_file.png

And with Chrome

find_real_file.png

I do not want to simply 'link' to a video but store the video on the instance.   Any help would be appreciated.

1 ACCEPTED SOLUTION

aduncanvickery
Tera Expert

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.


View solution in original post

3 REPLIES 3

edwardkester1
Kilo Contributor

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


aduncanvickery
Tera Expert

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.


trainer2017
Kilo Contributor

Where do you change the system property?