- Posts: 3
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Play fullscreen video with no media controls
- ajparag
- Topic Author
- Offline
- New Member
Less
More
1 month 1 week ago - 1 month 1 week ago #258674
by ajparag
Play fullscreen video with no media controls was created by ajparag
Your LimeSurvey version: 6.4.12
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template: None
==================
I want to create a self administered survey for advertisement testing. For this, I want to display the advertisement to the respondents in full screen. They should not able to skip the video or mess around with any of the media controls. Ideally the video should play full screen in full volume. Once the video is over, the page should move on to the next page where the questions will begin. How can I solve this query? Your help will be highly appreciated.
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template: None
==================
I want to create a self administered survey for advertisement testing. For this, I want to display the advertisement to the respondents in full screen. They should not able to skip the video or mess around with any of the media controls. Ideally the video should play full screen in full volume. Once the video is over, the page should move on to the next page where the questions will begin. How can I solve this query? Your help will be highly appreciated.
Last edit: 1 month 1 week ago by ajparag.
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
1 month 1 week ago #258678
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 Play fullscreen video with no media controls
I don't think you can hijack people's browsers to that degree.Ideally the video should play full screen in full volume.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu, holch
Please Log in to join the conversation.
- ajparag
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 2
1 month 1 week ago #258679
by ajparag
Replied by ajparag on topic Play fullscreen video with no media controls
Anything that is achievable will be appreciated. Please do not post unnecessary comments.
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
1 month 1 week ago #258694
by holch
As a respondent I wouldn't appreciate it you trying to force something like this onto me. First of all: I don't like full screen. Second: I have two screens.
And don't mess with the volume of my computer.
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 Play fullscreen video with no media controls
Ideally the video should play full screen in full volume.
As a respondent I wouldn't appreciate it you trying to force something like this onto me. First of all: I don't like full screen. Second: I have two screens.
And don't mess with the volume of my computer.
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: tpartner
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 month 1 week ago - 1 month 1 week ago #258710
by DenisChenu
It maybe something you can do some years ago, but currently : all good browser disable this for their user.
Browser are done for user not for web designer.
For video : google chrome disable the autoplay feature. You can add autoplay : it don't work (still work on firefox, but surely not for a long time).
See : developer.mozilla.org/en-US/docs/Web/HTML/Element/video (autoplay and control, NO way for fullscreen)
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 Play fullscreen video with no media controls
It's not a unnecessary comment.Anything that is achievable will be appreciated. Please do not post unnecessary comments.
It maybe something you can do some years ago, but currently : all good browser disable this for their user.
Browser are done for user not for web designer.
For video : google chrome disable the autoplay feature. You can add autoplay : it don't work (still work on firefox, but surely not for a long time).
See : developer.mozilla.org/en-US/docs/Web/HTML/Element/video (autoplay and control, NO way for fullscreen)
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.
Last edit: 1 month 1 week ago by DenisChenu. Reason: mozilla link
The following user(s) said Thank You: holch
Please Log in to join the conversation.
- ajparag
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 2
1 month 1 week ago #258815
by ajparag
Replied by ajparag on topic Play fullscreen video with no media controls
I have created this HTML page that lets me do exactly what I want. So, it is very much doable.
sprintstudio.ai/media/car/video.html
However, I cannot find a way to incorporate the same in limesurvey.
sprintstudio.ai/media/car/video.html
However, I cannot find a way to incorporate the same in limesurvey.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 month 5 days ago - 1 month 5 days ago #258875
by DenisChenu
Just put
in your question text source : and you get it.
The openFulScreen functions in template/Survey theme
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 Play fullscreen video with no media controls
It's not autoplay, and you have to click on buttonajparag post=258815 userid=32084
However, I cannot find a way to incorporate the same in limesurvey.
Just put
Code:
<div id="videobox" style="position: fixed"> <video src='video.mp4' style="pointer-events: none;" id="fullvideo" controls="false" playsinline> <source src='video.mp4' type='video/mp4'> </video> </div> <button id="vidplay" onclick="openFullscreen()">CLICK HERE TO PLAY</button> <script>
The openFulScreen functions in template/Survey theme
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.
Last edit: 1 month 5 days ago by DenisChenu.
Please Log in to join the conversation.