# How do i add an Id or class inside an open embed include?

**URL:** <https://talk.jekyllrb.com/t/how-do-i-add-an-id-or-class-inside-an-open-embed-include/9386>\
**Category:** Help\
**Created:** [August 19, 2024, 3:00am UTC](https://talk.jekyllrb.com/t/how-do-i-add-an-id-or-class-inside-an-open-embed-include/9386 "2024-08-19T03:00:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgr8abr](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/dgr8abr/32/6045_2.png) [@dgr8abr](https://talk.jekyllrb.com/u/dgr8abr)\
**Post date:** [August 19, 2024, 3:00am UTC](https://talk.jekyllrb.com/t/how-do-i-add-an-id-or-class-inside-an-open-embed-include/9386/1 "2024-08-19T03:00:50Z")

</div>

I’m using this resource: [Open embed | Jekyll Codex](https://jekyllcodex.org/without-plugin/open-embed/#help) to attach an mp3 file to my site :

```auto
/assets/audio/sales-call.mp3
{% include open-embed.html %}

```

with that code it will render tihs:

```auto
<audio controls="controls" ><source src="/assets/audio/sales-call.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>

```

however I want to edit that and add an audioPlayer class to that `<audio>` tag what should I do ??

---

<div class="post-metadata">

**Author:** ![dgr8abr](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/dgr8abr/32/6045_2.png) [@dgr8abr](https://talk.jekyllrb.com/u/dgr8abr)\
**Post date:** [August 19, 2024, 3:06am UTC](https://talk.jekyllrb.com/t/how-do-i-add-an-id-or-class-inside-an-open-embed-include/9386/2 "2024-08-19T03:06:37Z")

</div>

NVM, i already figured it out , inside the open-embed.html file that’s included.  
just find this line in mp3\_embed() function, it’s in `line 89`  
`var newInnerHTML = '<audio class="addClassNameHere"';`
