-
AuthorPosts
-
September 21, 2014 at 5:48 pm #109294
nosamttamParticipantUsing the Revolution Slider on the X theme.
with video layer, I can’t hide play/pause button on full screen. Very annoying to have this ugly black button appear in the middle of the screen.I’ve tried adding these CSS statements but they dont seem to help:
.player.no-playbar.no-fullscreen-api-support .controls .play .tiny-bars {
display: none !important;
}
.player .controls .play.state-playing .play-icon, .player .controls .play:hover .tiny-bars {
display: none !important;
}.tiny-bars {
display: none !important;
}
.play-icon {
display: none !important;
}
.pause-icon {
display: none !important;
}Any ideas?
September 22, 2014 at 1:47 am #109462
Paul RModeratorHi,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
September 22, 2014 at 2:45 pm #110092
nosamttamParticipantThis reply has been marked as private.September 22, 2014 at 4:49 pm #110185
Nabeel AModeratorHey Nosamttam,
Try this code instead via Appearance > Customize > Custom > CSS:
.player .controls { bottom: 50px !important; }Let us know if this works!
September 23, 2014 at 10:43 am #110693
nosamttamParticipantDid not work. No changes.
September 23, 2014 at 12:25 pm #110794
Kosher KMemberHello,
can you please provide login details so I can do some test directly on your site.
Thanks
September 23, 2014 at 12:53 pm #110810
nosamttamParticipantThis reply has been marked as private.September 23, 2014 at 3:06 pm #110916
ZeshanMemberHi there,
Thank you for writing in!
Upon checking, it seems that Vimeo doesn’t have option to hide the play/pause button for regular users (http://vimeo.com/forums/topic:43217). And we can’t remove/hide it using CSS as the video is embedded using HTML iframe tag.
However, you can also try using X theme’s background video. You can find more details about it in our video walkthrough on sliders here: http://theme.co/x/member/kb/sliders/
Hope this helps. 🙂
Thank you.
December 3, 2014 at 1:42 pm #157686
nosamttamParticipantSo I have upgraded to Vimeo Pro, and hidden all the controls on Vimeo and on the revolution slider, and still it shows the play/pause button.
December 3, 2014 at 4:58 pm #157835
Nabeel AModeratorHi again,
Try to add this code via Appearance > Customize > Custom > Javascript
jQuery(document).ready(function($){ $(".play-wrapper ").css({"display":"none","width":"0","height":"0"}); });Can you please share the link of your video you’re using in revolution slider so we can check it? Also upload the video again in your upgraded account and try it once again.
August 14, 2015 at 10:45 am #359256
AlanParticipanti am having the same issue any fix yet?
August 14, 2015 at 2:16 pm #359375
DarshanaModeratorCould you please provide us with a URL to the page? So that we can assist you with a possible workaround.
Thanks!
August 18, 2015 at 4:05 am #362001
AlanParticipantThis reply has been marked as private.August 18, 2015 at 5:20 am #362069
ZeshanMemberHi Alan,
Kindly review our earlier response: https://community.theme.co//forums/topic/revolution-slider-with-video-layer-cant-hide-play-pause-button/#post-110916 it is not possible to hide the controls on an embedded video unless there’s an option provided by the Vimeo itself. While it is not possible to hide the controls, you could try using this CSS code under Custom > CSS in the Customizer:
.fullscreenvideo.tp-videolayer { position: relative; } .fullscreenvideo.tp-videolayer:before { content: ''; position: absolute; width: 100%; height: 100%; left: 0; top: 0; }This code will add a transparent wrapper over the video that will stop the user interaction to the video and because of it the controls won’t appear on hover.
As for the autoplay and loop, you can append these two arguments under Arguments field in your video layer settings (see: http://prntscr.com/85z44g):
&autoplay=1&loop=1This solution is per the instruction given by Vimeo: https://vimeo.com/help/faq/sharing-videos/embedding-videos#how-do-i-set-videos-to-autoplay-or-loop-when-i-embed-them
Thanks!
August 19, 2015 at 8:08 am #363347
AlanParticipanti am a bit confused here should this code work on videos that are embedded and have a class id that is called .fullscreenvideo or is it for videos i put into revolution slider via the add video tab?
because your code made the video in the slider disappear and the loop function doesnt work there as well.
or are we talking about the function to a .mp4 video in the above or below the masthead section?
thanks
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-109294 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
