- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Make youtube video bigger AND make question group path way random?
- JGTrogen
- Topic Author
- Offline
- New Member
Less
More
6 years 1 week ago #167115
by JGTrogen
Make youtube video bigger AND make question group path way random? was created by JGTrogen
Hey!
1. When I add a youtube link to a question the video appears very very small, is it possible to make the video bigger?
2. Also, is it possible to have group 1 that everyone answers and then after X questions it either go to group 2 OR group 3? not depending on any earlier answers.
Thanks!
BR
1. When I add a youtube link to a question the video appears very very small, is it possible to make the video bigger?
2. Also, is it possible to have group 1 that everyone answers and then after X questions it either go to group 2 OR group 3? not depending on any earlier answers.
Thanks!
BR
The topic has been locked.
- orvil
- Offline
- Premium Member
Less
More
- Posts: 111
- Thank you received: 20
6 years 1 week ago #167116
by orvil
Best regards/Beste Grüße,
O. Villani
Replied by orvil on topic Make youtube video bigger AND make question group path way random?
Hi,
could you please add a screenshot or a *.lss?
could you please add a screenshot or a *.lss?
Best regards/Beste Grüße,
O. Villani
The topic has been locked.
- JGTrogen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
6 years 1 week ago #167117
by JGTrogen
Replied by JGTrogen on topic Make youtube video bigger AND make question group path way random?
Hi,
It basically looks like this, also the "remove video" tag appears for some reason.
Best regards
It basically looks like this, also the "remove video" tag appears for some reason.
Best regards
Attachments:
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
6 years 1 week ago - 6 years 1 week ago #167130
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Make youtube video bigger AND make question group path way random?
Hi,
As orvil said, it's always advisable to send a sample, that only contains the video question.
So that we see what you did.
If I use the embed code of youtube:
there are parameters for width and height.
See:
If you embed the video by the LS video button you get:
1. To remove the "Remove Video" just remove the <input /> tag
2. To adjust width and height add these parameters to the iframe as you see in the first example.
Without width and height you get the default resolution of 300x150
[hr]
2.question: Use a random number between 1 and 2.
a. create a question of type "equation", here called "randnum"-
b. In the question text enter {if(is_empty(randnum),rand(1,2),randnum)}
c.In the relevance equation of group 2 enter: randnum==1, of group 3: randnum==2
That's all
Joffm
As orvil said, it's always advisable to send a sample, that only contains the video question.
So that we see what you did.
If I use the embed code of youtube:
Code:
<iframe width="720" height="415" src="https://www.youtube.com/embed/bQLCZOG202k" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
See:
If you embed the video by the LS video button you get:
Code:
<div class="videodetector"><iframe frameborder="0" src="https://www.youtube.com/embed/-gPHeMaUudk?autohide=1&amp;controls=1&amp;showinfo=0"></iframe><input class="remove-videodetector" type="button" value="Remove video" /></div>
1. To remove the "Remove Video" just remove the <input /> tag
2. To adjust width and height add these parameters to the iframe as you see in the first example.
Without width and height you get the default resolution of 300x150
[hr]
2.question: Use a random number between 1 and 2.
a. create a question of type "equation", here called "randnum"-
b. In the question text enter {if(is_empty(randnum),rand(1,2),randnum)}
c.In the relevance equation of group 2 enter: randnum==1, of group 3: randnum==2
That's all
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 6 years 1 week ago by Joffm.
The following user(s) said Thank You: JGTrogen
The topic has been locked.
- JGTrogen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
6 years 1 week ago - 6 years 1 week ago #167139
by JGTrogen
Replied by JGTrogen on topic Make youtube video bigger AND make question group path way random?
Thank you Joffm!
But I don't seem to get the random questions to work. I've followed your steps.
I've made group 2 and 3.
I've made one question type in each group with "equation" that I've named them "randnum1" and "randnum2"
in both questions I've written {if(is_empty(randnum),rand(1,2),randnum)}
and in revelance equation of group 2 ive written randnum==1, of group 3: randnum==2
Something I am doing wrong here?
Thanks for your help
Best regards
But I don't seem to get the random questions to work. I've followed your steps.
I've made group 2 and 3.
I've made one question type in each group with "equation" that I've named them "randnum1" and "randnum2"
in both questions I've written {if(is_empty(randnum),rand(1,2),randnum)}
and in revelance equation of group 2 ive written randnum==1, of group 3: randnum==2
Something I am doing wrong here?
Thanks for your help
Best regards
Last edit: 6 years 1 week ago by JGTrogen.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
6 years 1 week ago #167143
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Make youtube video bigger AND make question group path way random?
Hi,
See attached sample.
Joffm
sorry to say: Nearly everything.Something I am doing wrong here?
See attached sample.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The topic has been locked.
- JGTrogen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
6 years 1 week ago - 6 years 1 week ago #167211
by JGTrogen
Replied by JGTrogen on topic Make youtube video bigger AND make question group path way random?
Thanks a lot for your help.
But I don't seem to find an option to import your LSS file into limesurvey? I can only find the "extract to lss" option.
I am sorry but I'm very new to this. Thanks for being so patient with me
But I don't seem to find an option to import your LSS file into limesurvey? I can only find the "extract to lss" option.
I am sorry but I'm very new to this. Thanks for being so patient with me
Last edit: 6 years 1 week ago by JGTrogen.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
6 years 6 days ago #167256
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 Make youtube video bigger AND make question group path way random?
Go to the "Survey" item at the top right corner, click on the arror next to it, choose "import survey".
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: JGTrogen
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
6 years 6 days ago #167258
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Make youtube video bigger AND make question group path way random?
Hi, JGTrogen
But you should have read this.
manual.limesurvey.org/Surveys_-_introduction#General
Especially the newbies are advised to read the manual.
And each time you create a new survey you see:
Best regards
Joffm
I am sorry but I'm very new to this
But you should have read this.
manual.limesurvey.org/Surveys_-_introduction#General
Especially the newbies are advised to read the manual.
And each time you create a new survey you see:
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The following user(s) said Thank You: JGTrogen
The topic has been locked.
- JGTrogen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
6 years 3 days ago #167335
by JGTrogen
Replied by JGTrogen on topic Make youtube video bigger AND make question group path way random?
Thank you Sir!
I guess i can use that LSS and just build my questions around it?
Thank you very much!
Best regards
JG
I guess i can use that LSS and just build my questions around it?
Thank you very much!
Best regards
JG
The topic has been locked.