# Embedded Audio, file from github repo

**URL:** <https://talk.commonmark.org/t/embedded-audio-file-from-github-repo/3558>\
**Category:** Extensions\
**Created:** [July 21, 2020, 8:20pm UTC](https://talk.commonmark.org/t/embedded-audio-file-from-github-repo/3558 "2020-07-21T20:20:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian-Osmel](https://talk.commonmark.org/letter_avatar_proxy/v2/letter/s/e79b87/32.png) [@Sebastian-Osmel](https://talk.commonmark.org/u/Sebastian-Osmel)\
**Post date:** [July 21, 2020, 8:20pm UTC](https://talk.commonmark.org/t/embedded-audio-file-from-github-repo/3558/1 "2020-07-21T20:20:18Z")

</div>

Hey,

I am trying to embed an audio file onto my [website](https://sebastian-o-rodriguez.github.io/about/command-line-music/) from a file stored in the same repository as the website ([link to wav file](https://github.com/Sebastian-O-Rodriguez/about/blob/master/audio/100-grandkids-sample.wav)).

Below is the code I have been using to do this, but I cannot get the `src= '...' ` portion to work.

`<audio controls="controls">`  
`<source>`  
` <script src="http://gist-it.appspot.com/github/Sebastian-O-Rodriguez/about/blob/master/audio/100-grandkids-sample.wav"></script>`  
` </source>`  
` <p>Your browser does not support the audio element.</p>`  
`</audio>`

It comes out like this

an empty audio player. I have also tried  
`src=https://github.com/Sebastian-O-Rodriguez/about/blob/master/audio/100-grandkids-sample.wav`

but I cannot seem to embed the audio into the player.

---

<div class="post-metadata">

**Author:** ![Crissov](https://talk.commonmark.org/user_avatar/talk.commonmark.org/crissov/32/1455_2.png) [@Crissov](https://talk.commonmark.org/u/Crissov)\
**Post date:** [July 24, 2020, 8:54am UTC](https://talk.commonmark.org/t/embedded-audio-file-from-github-repo/3558/2 "2020-07-24T08:54:01Z")

</div>

[Shouldn’t](https://html.spec.whatwg.org/multipage/media.html#the-audio-element) it look more like either of these?

```html
<audio controls="controls" src="http://gist-it.appspot.com/github/Sebastian-O-Rodriguez/about/blob/master/audio/100-grandkids-sample.wav">
<p>Your browser does not support the audio element.</p>
</audio>

```

or

```html
<audio controls="controls">
<source src="http://gist-it.appspot.com/github/Sebastian-O-Rodriguez/about/blob/master/audio/100-grandkids-sample.wav"/>
<p>Your browser does not support the audio element.</p>
</audio>

```
