Embedding Yandex.Music

You can add tracks, albums, and playlists from Yandex.Music on Turbo pages. To do this:

  1. On Yandex.Music, get the iframe embed code.
  2. Add the copied code in the <![CDATA[]]> section inside the turbo:content element.
<iframe frameborder="0" style="border:none;width:100%;height:450px;" width="100%" height="450" src="https://music.yandex.ru/iframe/#album/496406">listen to <a href='https://music.yandex.ru/album/496406'>channel ORANGE</a> — <a href='https://music.yandex.ru/artist/452028'>Frank Ocean</a> on Yandex.Music</iframe>
Note.

When setting up the widget, configure links to open in a new tab (target="_blank"), otherwise there is a risk that the user won't be able to open the link.

Example of the problem in Chromium