- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Embed a YouTube video
- FaG2020
- Topic Author
- Offline
- New Member
Less
More
3 years 4 months ago #209469
by FaG2020
Embed a YouTube video was created by FaG2020
Hi
1. Does someone of you know whether it's possible to embed a YouTube video in such a way that it's (frame) size is appropriate for both Apple and Windows computers screens with different sizes?
2. Is it possible to change options so that the full screen button from the YouTube movie could be used (see screenshot)? How?
Thanks in advance
1. Does someone of you know whether it's possible to embed a YouTube video in such a way that it's (frame) size is appropriate for both Apple and Windows computers screens with different sizes?
2. Is it possible to change options so that the full screen button from the YouTube movie could be used (see screenshot)? How?
Thanks in advance
Attachments:
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12906
- Thank you received: 3969
3 years 4 months ago #209477
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Embed a YouTube video
Hi,
I only inserted the video with the respective button
and surrounded the generated code with
to make it responsive.
1. Full screen
2. Small screen
Joffm
I only inserted the video with the respective button
and surrounded the generated code with
Code:
<div class="embed-responsive embed-responsive-16by9">
Code:
<div class="videodetector"><iframe frameborder="0" src="https://www.youtube.com/embed/81eyAVOUWyM?autohide=1&amp;controls=1&amp;showinfo=0"></iframe><input class="remove-videodetector" type="button" value="Remove video" /></div>
Code:
</div>
1. Full screen
2. Small screen
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: FaG2020
The topic has been locked.
- FaG2020
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 4 months ago - 3 years 4 months ago #209513
by FaG2020
Replied by FaG2020 on topic Embed a YouTube video
Okay, thank you for your reply Joffm!!
So, it should work if the code is like this, or in other words: I shouldn't add extra or less space/lines in between this:
So, it should work if the code is like this, or in other words: I shouldn't add extra or less space/lines in between this:
Code:
<div class="embed-responsive embed-responsive-16by9"> <div class="videodetector"><iframe frameborder="0" src="https://www.youtube.com/embed/5uJ_vFLpX_8?autohide=1&amp;controls=1&amp;showinfo=0"></iframe><input class="remove-videodetector" type="button" value="Remove video" /></div> </div> <p> </p>
Last edit: 3 years 4 months ago by FaG2020.
The topic has been locked.
- FaG2020
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 4 months ago #209546
by FaG2020
Replied by FaG2020 on topic Embed a YouTube video
Joffm, could you please check if the code is right?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
3 years 4 months ago #209548
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Embed a YouTube video
Did you try it?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- FaG2020
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 4 months ago #209549
by FaG2020
Replied by FaG2020 on topic Embed a YouTube video
Yes I tried, but I don't have many other computers from different screen sizes to test this. I'm quite unexperienced using code, but if you're saying that the code I entered above is right (incl. use of space and lines) than it's okay
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13624
- Thank you received: 2490
3 years 4 months ago #209551
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 Embed a YouTube video
You can update size of your browser, no need to update screen …
And Firefox or Chrome have some tool when you press F12 : best is to use it.
And Firefox or Chrome have some tool when you press F12 : best is to use it.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12906
- Thank you received: 3969
3 years 4 months ago #209567
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Embed a YouTube video
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.