View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
14720Bug reportsSurvey editingpublic2020-03-15 09:06
Reporternicholasvaughan Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionno change required 
Product Version3.16.x 
Summary14720: When uploading MP4 video as non-admin, video tag is removed from HTML in question text or page description
Description

We need to incorporate a number of videos (hosted within LimeSurvey) into our surveys. Doing this as a SuperAdministrator works correcty. However if you try and do this as a user that only has permissions to LDAP Auth and Create Survey, this causes a bug that leaves the

  1. Add Question to Question Group
  2. Specify Text Display (doesn't have to be this question type)
  3. Select 'Inset HTML5 Video' in WYSIWYG editor.
  4. Click 'Browse Server'
  5. Upload .mp4 video using built in KCFinder.
  6. Select uploaded video
  7. Select responsive width
  8. Click OK.
  9. Video then shows in WYSIWYG editor and plays as expected.
  10. Click Save
  11. Page reloads
  12. Video can no longer be seen (just a yellow box around the Div when you hover over it)
  13. Clicking Source only gives the following: <div class="ckeditor-html5-video" style="text-align:center;"> </div> and is missing the <video> tag that was in the 'ckeditor-html5-video' div before the page reload.

If you do the above steps as a SuperAdministrator it works perfectly as you would expect. But then log in as the standard user, go tho that question and click save on that same question, the video disappears again.

Steps To Reproduce

Put this in the 'Description' Field.

Additional Information

Using self hosted version.

TagsNo tags attached.
Attached Files
LimeSurveyVideoIssue1.PNG (25,454 bytes)   
LimeSurveyVideoIssue1.PNG (25,454 bytes)   
LimeSurveyVideoIssue2.PNG (24,287 bytes)   
LimeSurveyVideoIssue2.PNG (24,287 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)Version 3.16.0+190225
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome (Version 72.0.3626.121 (Official Build) (64-bit))
Database type & versionMariaDB 5.5.56 (Centos 7)
Server OS (if known)Ubuntu 16.04.6 LTS
Webserver software & version (if known)
PHP VersionPHP 7.3.2-3

Users monitoring this issue

nicholasvaughan

Activities

DenisChenu

DenisChenu

2019-04-05 15:35

developer   ~51392

https://github.com/ezyang/htmlpurifier/issues/106#issuecomment-390941726

The issue spoke of LS … lol

Issue History

Date Modified Username Field Change
2019-04-02 13:42 nicholasvaughan New Issue
2019-04-02 13:42 nicholasvaughan File Added: LimeSurveyVideoIssue1.PNG
2019-04-02 13:42 nicholasvaughan File Added: LimeSurveyVideoIssue2.PNG
2019-04-05 15:18 nicholasvaughan Issue Monitored: nicholasvaughan
2019-04-05 15:35 DenisChenu Note Added: 51392
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2020-03-15 09:06 c_schmitz Assigned To => c_schmitz
2020-03-15 09:06 c_schmitz Status new => closed
2020-03-15 09:06 c_schmitz Resolution open => no change required
2021-08-04 13:31 guest Bug heat 4 => 6