- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Embed Video into Survey + Embed Survey into Webpage
- byw_yn_iach
- Topic Author
- Offline
- New Member
Less
More
3 years 10 months ago - 3 years 10 months ago #201026
by byw_yn_iach
Embed Video into Survey + Embed Survey into Webpage was created by byw_yn_iach
Hi
I am looking to embed a video within my survey. Is this doable? If so, how do I accomplish this?
I would then like to embed the survey within a web page (Wordpress site). Is this doable? If so, how do I accomplish this?
I'm a new user of LimeSurvey so any help would be greatly appreciated! Thank you in advance!
Ryan
I am looking to embed a video within my survey. Is this doable? If so, how do I accomplish this?
I would then like to embed the survey within a web page (Wordpress site). Is this doable? If so, how do I accomplish this?
I'm a new user of LimeSurvey so any help would be greatly appreciated! Thank you in advance!
Ryan
Last edit: 3 years 10 months ago by byw_yn_iach.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 10 months ago #201039
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Embed Video into Survey + Embed Survey into Webpage
1) Assuming your respondents are using modern browsers, you can use a <video> element.
www.w3schools.com/tags/tag_video.asp
2) You can place the survey in an iframe on your web page. www.w3schools.com/tags/tag_iframe.asp
2) You can place the survey in an iframe on your web page. www.w3schools.com/tags/tag_iframe.asp
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- byw_yn_iach
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
3 years 10 months ago #201042
by byw_yn_iach
Replied by byw_yn_iach on topic Embed Video into Survey + Embed Survey into Webpage
Thank you for your answer! Where do I add the Video tag? Is there a way to edit the Survey code to add it?
Also, is only a simple iFrame required?
Also, is only a simple iFrame required?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 10 months ago #201046
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Embed Video into Survey + Embed Survey into Webpage
I don't know where you want the video, but I imagine you want to put it in the source of a question or the group description. Did you try?Where do I add the Video tag? Is there a way to edit the Survey code to add it?
Yes. Did you try?Also, is only a simple iFrame required?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- byw_yn_iach
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
3 years 10 months ago #201050
by byw_yn_iach
Replied by byw_yn_iach on topic Embed Video into Survey + Embed Survey into Webpage
Hi Tony
I really appreciate your help. I have sorted the embed on a web page. That's working. The video doesn't seem to want to cooperate.
I have attempted it with Video tags, it won't work. I have tried using the inbuilt Video function too (embed code form YouTube) and it loads, but as soon as I save the question is disappears.
I really appreciate your help. I have sorted the embed on a web page. That's working. The video doesn't seem to want to cooperate.
I have attempted it with Video tags, it won't work. I have tried using the inbuilt Video function too (embed code form YouTube) and it loads, but as soon as I save the question is disappears.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 10 months ago #201052
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Embed Video into Survey + Embed Survey into Webpage
My guess is that you don't have permissions to embed videos. You will need to disable the XSS filter in 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.
- FSoave
- Offline
- Junior Member
Less
More
- Posts: 30
- Thank you received: 0
3 years 10 months ago #201154
by FSoave
Replied by FSoave on topic Embed Video into Survey + Embed Survey into Webpage
hi, sorry for the follow up question but I'm having troubles as well with a video. I have my video on dropbox and it's visible with the link (shairng permission as ' everyone can see'). I disabled xss as you mentioned but still not luck. The video doesn;t show up although the frame is there (e.g. it takes space in the html page) and I can right click -> show video and it will show it in dropbox page.
What's the right way to embed this?
Thanks!
What's the right way to embed this?
Thanks!
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
3 years 10 months ago - 3 years 10 months ago #201163
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Embed Video into Survey + Embed Survey into Webpage
Depending on the version, there are security limits regarding iframes in your installation.
manual.limesurvey.org/global_settings#Security
manual.limesurvey.org/global_settings#Security
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 3 years 10 months ago by holch.
The topic has been locked.
- FSoave
- Offline
- Junior Member
Less
More
- Posts: 30
- Thank you received: 0
3 years 10 months ago #201164
by FSoave
Replied by FSoave on topic Embed Video into Survey + Embed Survey into Webpage
I wasn't using iFrames, but html video player as in code above..btw same issue with youtube links (not iFrame)..instead, it works well with videos that are in my server..
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
3 years 10 months ago #201165
by holch
Than I misread this.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Embed Video into Survey + Embed Survey into Webpage
although the frame is there (e.g. it takes space in the html page)
Than I misread this.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.