Hide player controls
-
Hi! I recently downloaded this plugin and am having a little difficulty getting it to work with my Abito theme. I was able to add in the following code to my theme to get it to appear on my page:
<?php if (has_post_video()) { ?>
<div class=”bg-image” style=”background: <?php echo get_the_post_video()?>I have it uploaded as a mp4, but I would like for it to play automatically and loop (which is already working great!) without the controls at the bottom upon hover. Essentially, I want it to look like a gif background rather than a video module.
The page in question is: https://wanderlogue.co/guides/taiwan-guides/
And I am hoping to have a streamlined process to duplicate this on other pages as well.
I usually stray away from editing the theme, since I’m pretty unfamiliar with php, so any pointers on how to implement it reliably on my site would be much appreciated! Not sure if my solution is good practice…
- The topic ‘Hide player controls’ is closed to new replies.