- Posts: 9
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Using videos in limesurvey - having issues
- DaveyKrebs
- Topic Author
- Offline
- New Member
Less
More
11 years 1 month ago #92103
by DaveyKrebs
Using videos in limesurvey - having issues was created by DaveyKrebs
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!
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 topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
11 years 1 month ago #92113
by DenisChenu
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.
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
11 years 1 month ago #92114
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 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 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.
- DaveyKrebs
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
11 years 1 month ago #92123
by DaveyKrebs
Replied by DaveyKrebs on 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:
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:
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 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:
Code:
<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:
Code:
<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 topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
11 years 1 month ago #92124
by DenisChenu
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.
Replied by DenisChenu on 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/ ?
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 , plugin development .
I don't answer to private message.
The topic has been locked.
- DaveyKrebs
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
11 years 1 month ago #92125
by DaveyKrebs
Ok, I tried that, but no luck I'm afraid.
Yes, I had an uploaded test file (test.flv).
Replied by DaveyKrebs on 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).
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
11 years 1 month ago #92132
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 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/
Have a look in google for "embbed flv in website". See here:
www.flvsoft.com/embed-flv-into-webpage/
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: DaveyKrebs
The topic has been locked.
- DaveyKrebs
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
11 years 1 month ago #92141
by DaveyKrebs
Replied by DaveyKrebs on 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!
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
11 years 1 month ago #92151
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 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.
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 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.
- DaveyKrebs
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
11 years 1 month ago #92156
by DaveyKrebs
Replied by DaveyKrebs on 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!
Regardless, thanks for the help!
The topic has been locked.