Welcome to the LimeSurvey Community Forum

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

How do I insert videos?

  • Sternee
  • Sternee's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #223096 by Sternee
How do I insert videos? was created by Sternee
LimeSurvey version:  url=https://artificialcompaniongender.limesurvey.net/surveyAdministration/listsurveys#modalSystemInformation]Version 5.2.5[/url
Own server or LimeSurvey hosting:   artificialcompaniongender.limesurvey.net/admin
Theme: How do I insert videos?
==================
Hello,

Now I have a problem with videos, I have tried to insert YouTube Videos and it worked.
But when I uploaded videos myself and previwed the question, the videos cant be show or played, there's only a white bar.
What else do I need to do to upload a video successfully?
Right now I only added video source link and then upload the video.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago #223134 by Joffm
Replied by Joffm on topic How do I insert videos?
Hi,
why don't you show us your problem?
E.g. by a screenshot of the source code or a lss export of this relevant question.

You seem to use the LimeSurvey hosting.
So here is what I got in version 5.2.5. LimeSurvey hosted.
I used the wizard to upload a mp4 file and to generate this code.
Code:
<div class="ckeditor-html5-video" data-responsive="true" style="text-align: center;">
<video controlslist="nodownload" src="/upload/surveys/872892/files/testC7.mp4" style="max-width: 100%; height: auto;"> </video>
</div>

And everything is fine.

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Sternee
  • Sternee's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago - 2 years 4 months ago #223153 by Sternee
Replied by Sternee on topic How do I insert videos?
Here's what happened when I uploaded the MP4 file:

 
Last edit: 2 years 4 months ago by Sternee.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago #223184 by DenisChenu
Replied by DenisChenu on topic How do I insert videos?
Console.log (F12 on good browser)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago #223194 by Joffm
Replied by Joffm on topic How do I insert videos?

Here's what happened when I uploaded the MP4 file:

And what is the source code?
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Sternee
  • Sternee's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 3 months ago #223230 by Sternee
Replied by Sternee on topic How do I insert videos?
I actually download some videos from YouTube and then cut and put them
altogether in MP4 format.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 3 months ago #223236 by tpartner
Replied by tpartner on topic How do I insert videos?
Joffm's point is that you need to explore the source code of the page with browser developer tools (F12). We cannot debug this remotely.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 3 months ago - 2 years 3 months ago #223239 by Joffm
Replied by Joffm on topic How do I insert videos?
Again,
please show what you see after you clicked this "source" button? 

 

This screenshot looks as if the path of the video is wrong, or the extension, or, or...
And consider: the filename and extension are case sensitive (MP4 is different from mp4).

So, please show

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 years 3 months ago by Joffm.
The topic has been locked.
More
2 years 3 months ago - 2 years 3 months ago #223664 by VeroniqueI
Replied by VeroniqueI on topic How do I insert videos?
Dear all,

I am adding my question to this thread, because it looks like the problem i am experiencing is the same as Sternee. However, if you would rather me start a new thread please let me know and i will do so!

I am using the web version of limesurvey to develop my questionnaire, with firefox. We have a university account, and the files are hosted on the university server (sondage.app.u-paris.fr).

I am having issues inserting videos in my questionnaire.
We uploaded our videos on the server ('Resources' tool on the left menu - my own translation from the french "ressources"), and this worked just fine. All videos are in a mp4 format.
I then clicked on the "video" icon to insert one of them in the questionnaire:
  (second button on this image)

Then i chose one of the videos that had been uploaded on the server:



Following this action, the video shows in the question preview, and the corresponding source code is:

<div class="ckeditor-html5-video" style="text-align: center;">
<video controls="controls" src="/upload/surveys/292789/files/Q18.mp4"> </video>
</div>

However, when i hit the button "save" to record the question, the video disappears from preview. Correspondingly, the source code gets changed into:

<div class="ckeditor-html5-video" style="text-align:center;"> </div>

I have tried different formats for the video, also using different codecs but this did not solve the issue.
Also, I tried to used "insert videos from youtube" instead, but I got exactly the same issue. The source code initially generated:

<div class="videodetector"><iframe frameborder="0" src=" www.youtube.com/embed/nomf2OrFlU8?autohi...ols=1&showinfo=0 ">


changes into:

<div class="videodetector"> </div>

and the video disappears.

By any chance, would someone know what is the reason for this problem?

Thank you very much and best wishes,
Véronique



 
Last edit: 2 years 3 months ago by VeroniqueI. Reason: The images did not show well
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 3 months ago - 2 years 3 months ago #223665 by Joffm
Replied by Joffm on topic How do I insert videos?
Do you have rights to insert videos, as it is an university installation?

Your code is fine.
Code:
<div class="ckeditor-html5-video" style="text-align: center;">
<video controls="controls" src="/upload/surveys/292789/files/Q18.mp4"> </video>
</div>

Joffm

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 years 3 months ago by Joffm.
The topic has been locked.
More
2 years 3 months ago #223667 by VeroniqueI
Replied by VeroniqueI on topic How do I insert videos?
Thanks very much, Joffm, for your quick reply.

I assumed that i had the rights to show videos. However, I will enquire with the university when they re-open on monday.

All best,
Véronique
The topic has been locked.
More
2 years 3 months ago #223744 by VeroniqueI
Replied by VeroniqueI on topic How do I insert videos?
Dear all,

Some more news after talking with the university IT person:

Our university server is able to show videos, and the IT person is able to insert videos into my questionnaire. However, neither I or my student can. At this point, the IT person does not know what the problem might be, so if anyone has an idea, please let us know!

All best,
Véronique
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose