mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-26 17:52:18 +01:00
update tidal embed
This commit is contained in:
parent
92ccf31d32
commit
40d9b4937c
@ -40,10 +40,10 @@ const embeds: { regexp: RegExp; render: (match: RegExpMatchArray, trusted: boole
|
||||
},
|
||||
// Tidal
|
||||
{
|
||||
regexp: /https?:\/\/tidal\.com\/track\/(\d+)/im,
|
||||
regexp: /https?:\/\/tidal\.com(\/browse)?\/track\/(\d+)/im,
|
||||
render: (match) => (
|
||||
<iframe
|
||||
src={`https://embed.tidal.com/tracks/${match[1]}?disableAnalytics=true`}
|
||||
src={`https://embed.tidal.com/tracks/${match[2]}?disableAnalytics=true`}
|
||||
width="100%"
|
||||
height="96"
|
||||
></iframe>
|
||||
|
Loading…
x
Reference in New Issue
Block a user