Audio in React – display current time
Having an audio file played, we would like to know the current play time. In React, this can be achieved by using the onTimeUpdate event.
Check the latest tips, tricks and news from the IT market.
Stay up to date with the marketHaving an audio file played, we would like to know the current play time. In React, this can be achieved by using the onTimeUpdate event.
Why is Docker so slow? The root of the issue is that Windows 10 is (was) using WSL, which is a layer between Windows and Linux.
In this tutorial, we are going to take a closer look at how to add dynamic translation to links in React. Code fragments included.
CHALLENGE: create a React character counter with a character limit for text area and display current count SOLUTION: handle the onChange event, use a Bootstrap badge to display the results Sometimes we want to restrict the number of characters that can be written in text input or text area. One solution is to use the HTML5 attribute […]
CHALLENGE: create a WordPress plugin with wp-admin forms that saves data in the wp_options table SOLUTION: submit a custom form, handle POST data, save to database and display the success message This article has been reviewed and updated in August 2024 to make it up to date. In this tutorial, you will see good practices […]
CHALLENGE: to add a WordPress image slider with captions and admin edit interface SOLUTION: to implement a Swiper touch slider on frontend and ACF custom fields on backend Adding a Carousel/Slider with images in WordPress is a common solution to highlight the most popular contents to website visitors. There are sophisticated ready-to-use slider plugins that […]
CHALLENGE: request access to the camera and microphone within iframe SOLUTION: use the iframe “allow” parameter It’s not a rare situation when we want to conduct a video chat in iframe. In a situation when iframe uses a different domain, access to the camera is blocked. To allow access to devices we can use the allow parameter that should […]
Snazzy Maps is a repository of different styles for Google Maps aimed towards web designers and developers. All styles are licensed under creative commons and are completely free to use.
The new version of Apple’s operating system has been released with numerous updates, new features, and enhancements for user interface and experience. However, under the guise of a feature-packed release, an upcoming update for iOS 14 poses a significant risk for Facebook ads, which may be crippling for many businesses. Here is what you need […]
Are you looking to start an ecommerce business? Are you planning to build your first ecommerce store and sell online? We’ve been there many times with our clients, it’s never easy, but there are many advantages of such enterprises, which can often either replace or support a traditional brick and mortar business. See our tips […]