I have an html video element applied as code in a text field, I have omitted the ‘controls’ attribute. Show
I have also added a jquery script in the X-Theme Pro global js panel, to show and hide controls on hover. $(document).ready(function(){ $(’#video-one’).hover(function toggleControls() { }); However this is not working on the site. Is there a way I can just add the js code into a js file? I can’t see how I can link to my own js file. How to display video controls in HTML5 ? Improve Article Save Article Like Article
Improve Article Save Article The HTML <video> controls attribute is used to display video controls in HTML5. It is the Boolean value. HTML5 most commonly uses ogg, mp4, ogm and ogv as a video formats in the video tag because the browser support for them differs. Syntax <video controls> <source> </video> From above Syntax controls attribute adds video controls like volume, pause, and play and <source> element allows you to specify alternative video files. The video control should include:
Attributes: Video tag supports mainly 5 attributes as mentioned below:
Note: Always specify the width and height of the video else web page will be confused that how much space the video will be required due to the reason the web page becomes slow down. Example 1: Using src attribute in below code. HTML
fiik
by fiik » Fri Oct 16, 2020 9:50 pm Hi Smiles Posts: 4657Joined: Thu Aug 16, 2007 7:32 pm
by BaconFries » Sat Oct 17, 2020 12:04 am As already mentioned there is no standard way to disable individual buttons in the HTML 5 Video / Audio objects. There are ways to use custom scripts (jQuery / JavaScript) to do so which you can implement yourself if you know and understand how to. smile Website
by smile » Sat Oct 17, 2020 9:09 pm While I do not have access to extensions as I have trial version I however asked my friend to test this and indeed the Plyr would be the easy way to do it. However I was told that the extension has errors in chrome dev tools. I wonder why is that? Can't the extension be made withut this error? Is it artificial stupid limitation of chrome? Pablo Posts: 18603Joined: Sun Mar 28, 2004 12:00 pmLocation: EuropeContact: Website
by Pablo » Sun Oct 18, 2020 7:18 am Please note that 'plyr' is a third party script. It is provided "AS IS". smile Website
by smile » Sun Oct 18, 2020 9:35 am He never uses the extension why he should bother to reprot anything? Sad that this forum community is with sutch attitude that bugfixing is called support.Pablo Posts: 18603Joined: Sun Mar 28, 2004 12:00 pmLocation: EuropeContact: Website
by Pablo » Sun Oct 18, 2020 9:41 am This has nothing to do with bugs in the software. The extension is not an official part of the software. This extension was created for my own personal use and I have shared it in case someone else finds it useful, that is why there is no support on (free) extensions. See also the license agreement that came with the extension. andyp Website
by andyp » Sun Oct 18, 2020 10:51 am As you are a potential new user I really must state that WB has what must be the best support there is with issues being resolved within a very short time frame. You will also get good advice from the forum community.... stick around and brows through the posts... Making mistakes....and still learning as I go along.. and very grateful to those who know far more than me... :) Posts: 4657Joined: Thu Aug 16, 2007 7:32 pm
by BaconFries » Sun Oct 18, 2020 11:14 am If he never uses the extension then how did you get the screenshot? Where did I say that this was a "Bug"? when I mentioned "Support" it is to your questions of use of the software and of the extension.... Notes: Extensions are only available for registered users of actively supported versions of WYSIWYG Web Builder! Extensions are not officially supported, they are made available as an extra service for the users of WYSIWYG Web Builder that find them useful and the software is provided "AS IS" wwonderfull Website
by wwonderfull » Sun Oct 18, 2020 12:50 pm @smile If you need an awesome website contact Posts: 4657Joined: Thu Aug 16, 2007 7:32 pm
by BaconFries » Sun Oct 18, 2020 2:55 pm Your are missing one point wwonderful this community or forum it is for registered users who have paid for the software. When you buy a license it helps to contribute to the development of the software and it's support from Pablo on its use. Without paying users there would be no software, no forum, no support... also by being a registered user and providing your order number like what has been asked previously it proves you are not using a illegal version and getting help when not entitled to so it not about who helps and who doesn't... How to hide HTML video controls in JavaScript?To hide a video on a web page, use yourVariableName. style. display='none'.
How do I hide controls in HTML video tag?By setting the controls attribute of the video element to false , we are able to hide the controls but for some reason, when entering full-screen mode they reappear, despite being hidden in normal screen mode. (Why?) The custom controls were hidden below the video in the full-screen mode.
How do I hide video player controls?Press Ctrl+M to hide or show the YouTube video player controls.
|