Skip to content

Instantly share code, notes, and snippets.

@raloliver
Last active March 26, 2017 14:57
Show Gist options
  • Save raloliver/731d76b1c47b4f30103724a6bb5dc470 to your computer and use it in GitHub Desktop.
Save raloliver/731d76b1c47b4f30103724a6bb5dc470 to your computer and use it in GitHub Desktop.
Audio Player// source http://jsbin.com/fucegi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Remove Download Button on Audio Player</title>
</head>
<body>
<!-- o style deve ser inserir nos scripts do produto -->
<style>
audio::-webkit-media-controls, video::-webkit-media-controls {
overflow: hidden !important
}
audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure {
width: calc(100% + 32px);
margin-left: auto;
}
</style>
<!-- a tag audio deve ser inserida no HTML de descrição ou de conteúdo da aula -->
<audio controls autoplay>
<source src="http://37.60.247.95/~aripe/audios-dance-mae-bebe/coracao.mp3" type="audio/mpeg"></source>
</audio>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment