To view audio and video using HTML

In simple terms, a website can be interpreted as a collection of texts, images and videos. The presence of audio and video can improve the appearance of the website. To understand how audio and video are displayed in HTML, do the following:

How to view audio

1. Open the XAMPP control panel and activate Apache and MySql.

2. Prepare the song you want to play. The song will be saved in the same folder as your program. Here I save the songs in the xampplite folder – htdocs – create a new folder (here I create a new folder called “inwepo”).

3. Open a text editor such as Notepad ++ or Dreamweaver and enter the following script code. Create a file ‘mp3.php’, save it in the xampplite folder – htdocs – create a new folder (here I created a new folder called “inwepo”).

Menampilkan audio dan video di HTML   Tampilan Audio/mp3 

4. To see the results of the script code above you can open your browser and go to http: //localhost/inwepo/mp3.php. input

How to view videos

1. Open the XAMPP control panel and activate Apache and MySql.

2. Prepare the movie you want to show. Movies are saved in the same folder as your program. Here I save the songs in the xampplite folder – htdocs – create a new folder (here I create a new folder called “inwepo”).

3. Open a text editor such as Notepad ++ or Dreamweaver and enter the following script code. Create a file ‘mp4.php’, save it in the xampplite folder – htdocs – create a new folder (here I created a new folder called “inwepo”).

Menampilkan audio dan video di HTML    Tampilan Video/mp4

4. To see the results of the script code above, you can open your browser and go to http: //localhost/inwepo/mp4.php. input

This is an explanation of the tutorial on viewing audio and video with HTML. Much luck.






Leave a Reply

Your email address will not be published.