Automatic Video Play/Pause Based on Visibility
April 19, 2024This JavaScript code automatically manages the play and pause state of videos on a webpage based on their visibility. When…Video Volume – Mute / Unmute / Toggle
April 18, 2024change the ".mute-unmute" button and ".video-hero" video selectors depending on your setup.Custom PayPal Donate Button, WordPress
March 25, 2024Add this code to your functions.php or snippet plugin. This code finds buttons that has ".donate" class and when those…Numbers Animation, Counting Up
February 17, 2024See the Pen Untitled by sinanisler (@sinanisler) on CodePen.Scroll Show Hide, Header, Menu, Depending on the Scroll Direction
February 16, 2024with this code you can change css depending on the direction of the scroll. this example is for header but…Mini Cart Count, Only Show Unique Product Count, WooCommerce
January 11, 2024Mini Cart Count, Only Show Unique Product Count instead of total number of multiple buy count. WooCommerce add this to…Youtube Timestamp iFrame Video, Embed Website
January 6, 2024html: js: demo: Timestamp title 00:01:00 Timestamp title 00:02:00 Timestamp title 00:03:00OpenAI WordPress Dalle-3 Image Generator for Posts
January 3, 2024This code is adding a metabox under the post editor. You can generate dall-e-3 image with it. If you like…Table of Contents, Automatic Heading Link List Generation
January 2, 2024Add an element with a unique ID (toc-container in this example) to your HTML where you want the table of…Recording Voice with Microphone on Browser, Save .WAV, Native JS
December 30, 2023Started working on an AI Wearable project and needed a clean native way of recording voice and saving it. This…