Welcome, Guest
Username: Password: Remember me

TOPIC: Using videos in limesurvey - having issues

Using videos in limesurvey - having issues 1 year 6 months ago #92103

  • DaveyKrebs
  • DaveyKrebs's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Hi, I posted this previously but possibly in the wrong category. It would be useful to know if we're encountering a common problem or one that's unique to us.

We need to display some videos stored on our server to questionnaire respondents.

From what I've read, this should be fairly easy to achieve. I followed the basic instructions in the wiki (including deactivating the XSS filter) but the videos won't play.

I can get images stored on our server to display, and I can embed videos from youtube which display fine (unfortunately not an option as a work-around, as we need to keep the vids on our own server). The problem isn't with our vids themselves, as they display fine in other applications, and other flash vids downloaded from the internet and put on our server also won't play.

Can anyone shed any light on where the problem might lie?

Many thanks!
The administrator has disabled public write access.

Re: Using videos in limesurvey - having issues 1 year 6 months ago #92113

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6276
  • Thank you received: 801
  • Karma: 240
What is your HTML for including video ?
The administrator has disabled public write access.

Re: Using videos in limesurvey - having issues 1 year 6 months ago #92114

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2634
  • Thank you received: 309
  • Karma: 114
Yes, the code you are using would be good and also the format of the videos. Some might play in a browser without a player, others might need a player.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Re: Using videos in limesurvey - having issues 1 year 6 months ago #92123

  • DaveyKrebs
  • DaveyKrebs's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Thanks for your interest.

The video format is flv (FLV1), simply because Limesurvey has a button for inserting flash elements. Similarly the code we used was just that generated when you click that flash button and choose a file uploaded to the server:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="movie" value="/limesurvey/upload/surveys/333312/flash/test.flv" /><embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="/limesurvey/upload/surveys/333312/flash/test.flv" type="application/x-shockwave-flash"></embed></object>

However, this doesn't work. The file doesn't even play in the preview box, and when I preview the question it simply shows a blank box where the video should be. Right-clicking on the box gives me the message "Movie not loaded..."

I tried some code I found for embedding youtube videos:
<object height="315" width="420"><param name="movie" value="http://www.youtube.com/v/5fP4emqw7O4?hl=en_GB&amp;version=3&amp;rel=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" height="315" src="http://www.youtube.com/v/5fP4emqw7O4?hl=en_GB&amp;version=3&amp;rel=0" type="application/x-shockwave-flash" width="420"></embed></object>

This worked fine for the youtube video but not at all when I tried to adapt it to run a video off of our server.

In case it helps, we're using Version 2.00+ Build 121213.
The administrator has disabled public write access.

Re: Using videos in limesurvey - having issues 1 year 6 months ago #92124

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6276
  • Thank you received: 801
  • Karma: 240
Try to update HTML with the hostname for host in:
src, value

Did you have something in the directory : /limesurvey/upload/surveys/333312/flash/ ?
The administrator has disabled public write access.

Re: Using videos in limesurvey - having issues 1 year 6 months ago #92125

  • DaveyKrebs
  • DaveyKrebs's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Try to update HTML with the hostname for host in:
src, value

Ok, I tried that, but no luck I'm afraid.
Did you have something in the directory : /limesurvey/upload/surveys/333312/flash/ ?

Yes, I had an uploaded test file (test.flv).
The administrator has disabled public write access.

Re: Using videos in limesurvey - having issues 1 year 6 months ago #92132

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2634
  • Thank you received: 309
  • Karma: 114
You can't just throw a flv video at a website and expect it to play.

Have a look in google for "embbed flv in website". See here:

www.flvsoft.com/embed-flv-into-webpage/
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.
The following user(s) said Thank You: DaveyKrebs

Re: Using videos in limesurvey - having issues 1 year 6 months ago #92141

  • DaveyKrebs
  • DaveyKrebs's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Many thanks holch. Converted the .flv to .swf and it works fine. Apologies for my ignorance about flash files!
The administrator has disabled public write access.

Re: Using videos in limesurvey - having issues 1 year 6 months ago #92151

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2634
  • Thank you received: 309
  • Karma: 114
Good that we could be of assistance.

But that is why you should give as much information as possible when asking about help, because the detail about the flv file was pretty important. You might have received an answer a lot quicker.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Re: Using videos in limesurvey - having issues 1 year 6 months ago #92156

  • DaveyKrebs
  • DaveyKrebs's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Yes, appreciated, although if you're quite a novice it's not always obvious what details you're forgetting to leave out.

Regardless, thanks for the help!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.232 seconds
Donation Image