data-audio-src) on the parent <div> of the audio player in Webflow. You cannot directly access or modify Webflow's core code, but you can use custom attributes, CMS bindings, and custom JavaScript to dynamically change a parent <div> value (e.g., attribute, content) when using Udesly’s audio player or any custom integration.
<div> of the audio player.data-audio-src
data-audio-src attribute of the parent and apply it to the Udesly audio player.
Example logic:
.audio-player-wrapper or similar class.data-audio-src attribute.
Example (simplified JavaScript):
const divs = document.querySelectorAll('[data-audio-src]'); divs.forEach(div => { const audioSrc = div.getAttribute('data-audio-src'); / apply to Udesly player inside div / });
Note: Avoid writing inline audio <script> tags; Webflow may strip certain tags or break functionality.
You can’t modify Webflow’s internal code, but you can bind a CMS field to a custom attribute on the parent <div>, then use custom JavaScript to apply that value to the Udesly audio player logic. This allows dynamic audio content per CMS item using Webflow and Udesly.