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
  • ajparag's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 1 week ago - 1 month 1 week ago #258674 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.
Last edit: 1 month 1 week ago by ajparag.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 1 week ago #258678 by tpartner
Replied by tpartner on topic Play fullscreen video with no media controls

Ideally the video should play full screen in full volume.
I don't think you can hijack people's browsers to that degree.

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
  • ajparag's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 1 week ago #258694 by holch

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
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 1 week ago - 1 month 1 week ago #258710 by DenisChenu
Replied by DenisChenu on topic Play fullscreen video with no media controls

Anything that is achievable will be appreciated. Please do not post unnecessary comments.

 
It's not a unnecessary comment.

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
  • ajparag's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 5 days ago - 1 month 5 days ago #258875 by DenisChenu
Replied by DenisChenu on topic Play fullscreen video with no media controls

ajparag post=258815 userid=32084
However, I cannot find a way to incorporate the same in limesurvey.
 

It's not autoplay, and you have to click on button

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>
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.
Last edit: 1 month 5 days ago by DenisChenu.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose