hii want to put a video on first page on my journalthis video uploaded on another site and i have a script like as it
have you suggest for this work?
You should be able to put this in the Journal's "Website -> Additional Content" settings, if you relax the allowed_html restrictions in config.inc.php to allow the script tag with type and source attributes, and the id attribute on the div.
hi @ctgrahami do this workbut when i add script or div tag in the setting -> website -> Announcements like as a codedon't add anything to that Announcements item
Hmmm.... yes, HTMLPurifier's defaults will still prevent ids and script tags even if the allowed_html is modified.
This will require a code modification to the PKPString::stripUnsafeHtml() function in lib/pkp/classes/core/PKPString.inc.php:
The configuration options are documented here:http://htmlpurifier.org/live/configdoc/plain.html
You're probably interested in "EnableID" and "SafeScripting".