Page 1 of 1

Video in KnowledgeBase

Posted: Thu Oct 26, 2023 3:56 pm
by kevin_Webbers
Script URL: intranet
Version of script: 3.4.3
Hosting company: IIS
Adding Video to HESK Knowledgebase

I want to add Videos from my local IIS server to a Knowledgebase article, but each time I try, HESK deletes the code.
Can someone help?
The code I am trying to use is:
<iframe width="330" height="240" src="https://iis.domain.local/Toshiba-Profiles.mp4" frameborder="0" allowfullscreen></iframe>
I did see something about modifying the manage_knowledgebase.php, but it still deletes my code.
This is an INTERNAL server only and IT is the only one that can put videos on the IIS server.

Re: Video in KnowledgeBase

Posted: Thu Oct 26, 2023 4:40 pm
by Klemen
You should be able to get it working if you edit file /inc/htmlpurifier/custom/heskIframe.php:
1. backup the file
2. change

Code: Select all

player.vimeo.com
to

Code: Select all

iis.domain.local
3. save and test

P.s.: make sure iis.domain.local is the correct host name

Re: Video in KnowledgeBase

Posted: Fri Oct 27, 2023 3:25 pm
by kevin_Webbers
Thank you so much, that worked perfectly.
:D