How to add music
How to add music to the site
You can add an audio file from an external service to the website.
To add music to a page, you need to insert the audio file code into an HTML block. Let's look at adding a player using the example of SoundCloud.
Go to the SoundCloud website and find the track.
![](https://docs.wfolio.pro/~gitbook/image?url=https%3A%2F%2F856498356-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LtZOPvCqrx5oWXGbl7B-620652635%252Fuploads%252FMNLUqAlk7wmkIyHgfrcQ%252F4.png%3Falt%3Dmedia%26token%3Da9dd59ca-2fd6-4045-bb0d-2c1c5b0d7ad3&width=768&dpr=4&quality=100&sign=f77109d4&sv=1)
After finding the track, hover over the track and click on the «Share». Select «Embed» and copy the code.
![](https://docs.wfolio.pro/~gitbook/image?url=https%3A%2F%2F856498356-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LtZOPvCqrx5oWXGbl7B-620652635%252Fuploads%252FcTb7d8NbERcDqIWtFG7s%252F5.png%3Falt%3Dmedia%26token%3Dafaf670e-5a18-4ca6-9f5a-fc4aa7391ace&width=768&dpr=4&quality=100&sign=f0806d27&sv=1)
![](https://docs.wfolio.pro/~gitbook/image?url=https%3A%2F%2F856498356-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LtZOPvCqrx5oWXGbl7B-620652635%252Fuploads%252FvH2zNMShNxp7385Y6nEM%252F8.png%3Falt%3Dmedia%26token%3D5d915ee1-e138-43ec-a077-b229195b3c94&width=768&dpr=4&quality=100&sign=9bafccdb&sv=1)
Paste the copied code into the HTML block. Save the changes.
![](https://docs.wfolio.pro/~gitbook/image?url=https%3A%2F%2F856498356-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LtZOPvCqrx5oWXGbl7B-620652635%252Fuploads%252F98LEIID7p7jk54wrHMxi%252F9.png%3Falt%3Dmedia%26token%3D155a6333-c6b8-4878-81f3-fe432d7c8d9f&width=768&dpr=4&quality=100&sign=e10c0626&sv=1)
Now, when viewing the page, a widget with a player and the ability to listen to the track will be displayed.
Automatic music playback will not work as all browsers block it. Music (and videos with sound) can only be played by a user's click.
Last updated