The simplest way to add a background music player in DW to a web page is:
Adding a background music player to a web page in Dreamweaver is an important part of enriching page activities. This tutorial will explain in detail the addition of the background music player for Dreamweaver web pages.
1. First create a new HTML project in the site (as shown in Figure 1).
2. Select the "Design" window of Dreamweaver, insert-layout object-Div tag. Click the "OK" button directly in the "Insert div tag" dialog box that pops up
3. Delete the text content in the div tag and perform the insert-media-plug-in operation again.
4. You can place 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). When the prompt window pops up, select "OK" as well
Different players use different codes
For example:
Code 1, Code 2, Code Description: Both codes can add music to the blog. Their differences are: 1. Add background music, and the player will not be displayed on the page; 2. Add a player and use the player to play background music. The following parts in the program code 2 can be replaced by yourself: 1. The music file URL can be replaced with your favorite music file URL; 2. The "infinite" of the statement can be replaced with a number, indicating how many times it is played repeatedly. If it is not changed, it means permanent return. Circle play; 3. The statement indicates whether to play automatically. When it is changed to "0", it will not play automatically. When it is changed to "1", it will play automatically. 4. The two attributes of height and width can change the size of the player.
1. First create a new HTML project in the site.
2. Select the "Design" window of Dreamweaver, insert-layout object-Div tag. Click the "OK" button directly in the "Insert div tag" dialog box that pops up.
3. Delete the text content in the div tag and perform the insert-media-plug-in operation again.
4. You can place the music file in the site you have created, select the music file you want to insert, and click "OK". When the prompt window pops up, select "OK" as well.
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.
6. After setting the properties, you can preview the web page. Click the ball button at the top of the page, choose to preview in IE, and follow the prompts to save the web page to the site.
7. Select "Allow blocked content" in IE and choose to execute active content.
8. You can see the player displayed in IE. After testing, it can play normally.
How to add a background music player to a web page in Dreamweaver
Just add the code
Hope to adopt< /p>
How to add a background music player?
Add steps: 1. Music box - add music - add online music 2. Go to Baidu to find songs, just find a song and listen to it. If you can listen to the song soon, Just click the song name on the left, copy the download address of the song in the pop-up window, paste the address in the space, fill in the song title, and click "Submit", so that a new song is added. 3. Go to Music Box - Music Collection - Internet Music. If you want to set the song as background music, just put a check in front of the song title, and then click "Set as background music" and it will be OK
Please adopt
How to add a new background music player in Dreamweaver
1. First, create a new HTML project in the site;
2. Select the "Design" window of Dreamweaver and insert - layout object - Div tag. Click the "OK" button directly in the "Insert div tag" dialog box that pops up;
3. Delete the text content in the div tag and perform the insert-media-plug-in operation again;
4. You can place the music file in the site you have created, select the music file you want to insert, and click "OK"; when the prompt window pops up, select "OK" as well;
< p> 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;6. After setting the properties, you can preview the web page. Click the ball button at the top of the page, choose to preview in IE, and follow the prompts to save the web page to the site;
7. Select "Allow blocked content" in IE, and choose to execute active content; When the security warning pops up, select "Yes";
8. You can see the player displayed in IE. After testing, it can play normally.