Skip to main content

Posts

Showing posts with the label html

How create browser extension ?

    Creating an extension for a browser like Google Chrome or Microsoft Edge is a process that can be broken down into a few steps. Here is the basic procedure: 1.  Configuring the extension folder and manifest file Create a new folder   on your computer where you will store all the files related to the extension. You can name it something like "MyFirstExtension". Add the file   manifest.json  to this folder. The manifest file contains metadata about the extension, such as name, version, description, and required permissions. Sample code for the file  manifest.json looks like this: { "manifest_version" : 3 , "name" : "My First Chrome Extension" , "version" : "1.0" , "description" : "A simple Chrome extension tutorial" , "icons" : { "48" : "icon.png" } , "permissions" : [ "tabs" , "activeTab" , "scripting...

Before implementing the audio html code on your page, check your browser

If you want to embed the audio code on your website, for example <audio id="song">      <source src="Relase.mp3" type="audio/mpeg"> </audio> <script>      document.getElementById("song").play(); </script> check your browser settings to make sure you don't have autoplay disabled Edge      Settings           Cookies and site permissions                Media autoplay                     Control whether audio and video play automatically on sites                          Allow