Using videos in limesurvey - having issues

More
4 years 9 months ago #92103 by DaveyKrebs
DaveyKrebs created the topic: Using videos in limesurvey - having issues
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!

Please Log in to join the conversation.

More
4 years 9 months ago #92113 by DenisChenu
DenisChenu replied the topic: Using videos in limesurvey - having issues
What is your HTML for including video ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 9 months ago #92114 by holch
holch replied the topic: Using videos in limesurvey - having issues
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.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
4 years 9 months ago #92123 by DaveyKrebs
DaveyKrebs replied the topic: Using videos in limesurvey - having issues
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.

Please Log in to join the conversation.

More
4 years 9 months ago #92124 by DenisChenu
DenisChenu replied the topic: Using videos in limesurvey - having issues
Try to update HTML with the hostname for host in:
src, value

Did you have something in the directory : /limesurvey/upload/surveys/333312/flash/ ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 9 months ago #92125 by DaveyKrebs
DaveyKrebs replied the topic: Using videos in limesurvey - having issues

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).

Please Log in to join the conversation.

More
4 years 9 months ago #92132 by holch
holch replied the topic: Using videos in limesurvey - having issues
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/

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: DaveyKrebs

Please Log in to join the conversation.

More
4 years 9 months ago #92141 by DaveyKrebs
DaveyKrebs replied the topic: Using videos in limesurvey - having issues
Many thanks holch. Converted the .flv to .swf and it works fine. Apologies for my ignorance about flash files!

Please Log in to join the conversation.

More
4 years 9 months ago #92151 by holch
holch replied the topic: Using videos in limesurvey - having issues
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.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
4 years 9 months ago #92156 by DaveyKrebs
DaveyKrebs replied the topic: Using videos in limesurvey - having issues
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!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!