title: Disable Controls on Featured Video Plus WordPress Plugin
body: <p>I am using this plugin <a href="https://wordpress.org/support/plugin/featured-video-plus/" rel="nofollow noreferrer">https://wordpress.org/support/plugin/featured-video-plus/</a></p>
  
  <p>On my latest WordPress version 4.7.2 but I will like to hide the controls.</p>
  
  <p>When I check my code I can see this.</p>
  
  <pre><code>&lt;video class="wp-video-shortcode" id="video-65-1" loop="1" autoplay="1" preload="metadata" controls="controls" width="10240" height="5760"&gt;&lt;source type="video/mp4" src="Untitled9.mp4?_=1"&gt;&lt;a href="Untitled9.mp4"&gt;Untitled9.mp4&lt;/a&gt;&lt;/video&gt;
  </code></pre>
  
  <p>The issue is that the plugin does not offer the option to hide controls so I need to eliminate this in the code --> <strong>controls="controls"</strong></p>
  
  <p>I have not been able to find it inside the plugin so I will like to know if someone knows how to fix this.</p>
  
  <p>I don't want to show the controls when mouse overlay or just hide them forever.</p>
  
  <p>Thanks</p>
  
  <p>******** <strong>UPDATE</strong> ********</p>
  
  <p><strong>Here is a picture of the plugin and its HTML Markup</strong></p>
  
  <p><a href="https://i.stack.imgur.com/pPpsT.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pPpsT.jpg" alt="enter image description here"></a></p>
  
  <p>********* <strong>These are my Plugin Settings</strong> *********</p>
  
  <p><a href="https://i.stack.imgur.com/j49dX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j49dX.jpg" alt="enter image description here"></a></p>
  
  <p>********* <strong>What I did is I uploaded a video to the Media and then paste the video URL inside the Featured Video section - SEE IMAGE BELOW</strong> *********</p>
  
  <p><a href="https://i.stack.imgur.com/xpDUr.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xpDUr.jpg" alt="enter image description here"></a></p>
  
  <p>***** <strong>SOLUTION TO THIS PROBLEM</strong> *****</p>
  
  <p>NOTE: Unfortunately CSS does not works for this, so I ended up not changing the plugin, please if anyone has a better solution please share.  </p>
  
  <p>Again this is not the best solution as I need to change the media.php file from WordPress but for me is a small price I am willing to pay.</p>
  
  <p>To eliminate controls inside the video tag go to /wp-includes/media.php </p>
  
  <p>And find these PHP code around line 2580 or so:</p>
  
  <pre><code>$html .= sprintf( '&lt;video %s controls="controls"&gt;', join( ' ', $attr_strings ) );
  </code></pre>
  
  <p>and just change it to this</p>
  
  <pre><code>$html .= sprintf( '&lt;video %s&gt;', join( ' ', $attr_strings ) );
  </code></pre>
  
  <p>Make a backup and every time you update WordPress, remember this small change as you will need to change it back</p>