Current location - Music Encyclopedia - NetEase Cloud Music - How does Dreamweaver add a background music player to a webpage?
How does Dreamweaver add a background music player to a webpage?
adding a background music player to a webpage in Dreamweaver is an important content to enrich page activities. This tutorial will explain in detail the addition of Dreamweaver webpage background music player.

1. First, create a new HTML project in the site (as shown in Figure 1).

2. select Dreamweaver's design window and insert-layout object-—Div tag. Click OK directly in the "Insert div Tag" dialog box that pops up (as shown in Figure 3).

figure 3

3. delete the text content in the div tag and perform the operation of insert-media-plug-in again.

4. You can put the music file in the site you have created, select the music file you want to insert, and click OK (as shown in Figure 5). Select OK after the prompt window pops up (as shown in Figure 6).

Figure 6

#p# Subtitle #e#

5. After successful insertion, select the music plug-in and set it in the property bar at the bottom of the page, such as width and height (as shown in Figure 7).

6. After setting the properties, you can preview the webpage. Click the spherical button at the top of the page, select preview in IE, and save the webpage to the site according to the prompts (as shown in Figures 9 and 1).

figure 9

7. select "content allowed to be blocked" in IE, and select to run active content (as shown in figures 11 and 12).

Figure 12

8. You can see the player displayed in IE. After testing, it can play normally (as shown in Figure 13).

#p# Subtitle #e#