As desktop development evolves, integrating web-based interfaces with powerful C# backend logic is becoming more common. Thanks to Microsoft’s WebView2, developers can now build hybrid desktop applications that combine the flexibility of HTML/JavaScript with the performance of native .NET. One of WebView2’s most powerful features is two-way communication between JavaScript and C#—commonly called a bridge….
Category: HTML5, CSS & JavaScript
Web App Player by CiihuyCom – Turn Your Web App into a Windows Desktop App — No Coding Needed!
Web App Player by CiihuyCom is a lightweight and easy-to-use tool that lets you package any website or web app into a standalone Windows executable (.EXE) in just a few clicks. 💡 What Is Web App Player by CiihuyCom? It’s a desktop app builder that converts your HTML/CSS/JavaScript project into a ready-to-use .EXE file —…
A simple HTML5 and JavaScript audio player with play time event listener callback
In this blog post I will share a snippet for you. It is an HTML5 code with some JavaScript functions in it. You can play an mp3 audio file while you see a feedback about what seconds is the audio being played. You can modify the code, for example, to show an alert if the…
How to show a loop video as background image in your html page
I’m sharing an HTML and CSS code to show a page with a video that is playing in loop as background image. Here is the HTML and CSS code:
A simple HTML and JavaScript program to play a video file with subtitle
Let’s say you have a video file and an srt subtitle file. This simple HTML program can load those files and play the video with its subtitle:
Simple HTML and JavaScript program to create a video subtitle and save as srt file
Here’s a simple HTML + JavaScript program that allows you to add subtitle text to an HTML video at specific times and save the result as an .srt file. This program lets users enter subtitles with start and end times, displays them in SRT format, and allows downloading the subtitle file.
Simple HTML and PHP program to submit a blog post to Google’s Blogger using its API
Here’s an HTML + PHP implementation to submit a blog post to Blogger using the Google Blogger API. You’ll need: Steps: index.html (Front-end Form) <!DOCTYPE html><html lang=”en”><head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <title>Blogger Post Submission</title></head><body> <h2>Submit a Blog Post</h2> <form action=”post.php” method=”post”> <label>Title:</label><br> <input type=”text” name=”title” required><br><br> <label>Content:</label><br> <textarea name=”content” rows=”5″ required></textarea><br><br> <button type=”submit”>Submit…
Can we embed a video placed on Google Drive and how to play such video in our website?
You can’t directly embed and play a Google Drive video just by using its public shared link. Instead, you need to convert the Google Drive sharing URL into a direct file link. Steps: Here’s the HTML + JavaScript Code: htmlCopyEdit<!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <title>Google Drive Video Player</title> <style>…
How to make a JavaScript QR Code generator
Here’s an HTML + JavaScript web app that generates a QR code inside an HTML <canvas> element based on user input. It uses the qrcode.js library to generate the QR code efficiently.
How to provide image thumbnail preview for WhatsApp link sharing
If you have a web page then you share its link via WhatsApp but you did not see an image thumbnail of your page, you must be missing these meta tags on your page: 1: title Maximum of 65 characters 2: description Maximum of 155 characters 3: og:title Maximum 35 characters 4: og:url Full link…
Very simple JavaScript countdown source code
In case you need to make a countdown in your website, here is a handy JavaScript code you can use. Just edit the variable countDownDate and set it the date you want, then run the JS. Watch the console log counting the seconds. It will show an alert message when the countdown reaches zero.
Wondering why you see Chrome Cast icons on your HTML5 videos on your website?
Sure, I hate it too. When I use video tag in my website, if I open it from my chrome on my mobile phone, I see Chrome Cast icons on each videos that I have. How to disable such icons? It is easy. Just add this css code to your page’s stylesheet: video::-internal-media-controls-overlay-cast-button { display:…
How to play any YouTube video dynamically using YouTube iFrame API + autoplay on mobile devices
In this blog post you will see a script that I’ve demonstrated on my YouTube channel to play any YouTube video dynamically by clicking a button or typing a video id easily. Here is the script: The script is originally found here but I modified it and added a useful function to it so we…
How to find an element from a jQuery AJAX response with jQuery .find() method
If you are a jQuery luver, you must know how to use jQuery Post and Date functions. Recently I’ve been working on a project, that involves this jQuery Get thingy like this: But, unfortunately it did not work. If you are facing the same case as me, try to wrap that data variable parsed from…
I always forget what kind of scale modes does Phaser js has. So here is the list…
I wrote this list of scale modes of Phaser engine, so later if I forgot I can take a look at it easily:
How to type something then it should redirect us to another page in HTML and JavaScript
I made this tutorial to answer a question asked to me about how to make something that if we type a word than it redirects us to some page. So I do this in HTML and JavaScript, and I hope I did not get it wrong. Basically when we type a word in an input…
How to access your localhost website running with XAMPP from another devices (like Android phone)
Hi there, I know you often develop an online websites on your local environment using local webserver such as XAMPP before you deploy it on real web server online. Sometimes you need to access your local website that is running on localhost for example in this link: http://localhost/yourwebsite from your mobile phone. To do so,…
Make your own 360 virtual tour with 3Sixty Web Tour Maker
3Sixty is a desktop software for creating 360 virtual tour websites. It provides visual tools for adding panorama images, placing hotspots and attaching useful actions to each of them. It is written in HTML5, JavaScript and CSS and built using Electronjs and Nodejs. The 360 panorama viewer engine used in this software is Panolensjs, a…
Drawing with Phaser – A simple HTML5 drawing program made with Phaser, jscolor, and jQuery
With this program you can draw anything using a brush that can be adjusted, its size and its color, completely customize-able. There is also a button to clear the canvas so you can start over drawing again. This simple drawing can be useful to you if you want to make an online drawing program for…
Timer Loop – Simple HTML timer program
Timer Loop is a simple JavaScript application to set alert and timer repeatedly Timer Loop is a simple tool to make you remember something that you must do it every each x time interval. Everytime that x time comes, an alert sound will be played. Set the time interval in minutes (for example, if you…