Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Importing Question Text Display Question Wont Show Video

  • KadyFrancis
  • KadyFrancis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 4 months ago #192342 by KadyFrancis
When I am importing a question (text display) from a colleagues survey the embeded video does not show. When I check the code on her text display it is as follows:

<div class="youtube-embed-wrapper" style="position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden;"><iframe allowfullscreen="" frameborder="0" height="360" src="//www.youtube.com/embed/G-Xsn6KDqqc?rel=0" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;" width="640">


But when I check the imported question, the code reads as follows:

<div class="youtube-embed-wrapper" style="padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden;"> </div>

As you can see, the code has been shortened and the actual youtube link is gone. When I manually input the full code into my text display, press save and then reopen the code, it has been shortened from the full code above to the partial code.

Any help would be greatly appreciated.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 4 months ago #192343 by Joffm
Hi,
unfortunately you did not mention your LimeSurvey version.

I just tested in 3.15.5 and 2.73.1 and found no issue.

Of course I can only test your second problem; you did not attach the exported question.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • KadyFrancis
  • KadyFrancis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 4 months ago #192345 by KadyFrancis
Hi Joffm. Thanks for replying. I am using Lime Survey on google chrome (Version 3.19.3+191023).

I have tried to attach the actual question. The question works perfectly when I view it on my laptop within my colleagues survey. But when I export it into my survey the code changes and as I said , even when I manually input the full code it reverts back to the incomplete code above.

Any help on this is greatly appreciated.

File Attachment:

File Name: limesurvey...5804.lsq
File Size:2 KB
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 4 months ago #192346 by tpartner
It sounds to me like you don't have permissions to embed iframes.

- manual.limesurvey.org/Global_settings#Security

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose