lolyporo Posted September 21 Posted September 21 Hello I was wondering if it is possible to remove the option of entering full screen on video blocks by double clicking them.
Spark-Plugin Posted September 23 Posted September 23 Hello @lolyporo, I hope you're having a great day! I'm here to help you now. Disabling the double-click isn’t a simple task, as it likely requires some JavaScript. For now, I’ll focus on a CSS solution that might help. The following CSS will remove the fullscreen icon from the player controls, but please note that the double-click/tap will still work. This code only applies to self-hosted videos, not YouTube or Vimeo. Navigate to Pages > Website Tools > Custom CSS. Paste the following code into the CSS editor. // Hide fullscreen button/icon .video-player .plyr--fullscreen-enabled [data-plyr=fullscreen] { display: none !important; } Let me know if it works for you. - Answered by Iuno from sparkplugin.com
lolyporo Posted September 28 Author Posted September 28 Hello, thank you for the reply, but I specifically want to remove the fullscreen option when double clicking. Is it possible to get a code for it or where should I look? LostAndFurious 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment