Skip to content

Commit

Permalink
Change "audio/mp3" --> "audio/mpeg"
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovcmedeiros committed Mar 9, 2024
1 parent 747291c commit 7e77d3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
license = "MIT"
name = "pyrobbot"
readme = "README.md"
version = "0.7.6"
version = "0.7.7"

[build-system]
build-backend = "poetry.core.masonry.api"
Expand Down
2 changes: 1 addition & 1 deletion pyrobbot/app/app_page_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def render_custom_audio_player(
b64 = base64.b64encode(data).decode()
md = f"""
<audio controls {autoplay} {hidden} preload="metadata">
<source src="data:audio/mp3;base64,{b64}#" type="audio/mpeg">
<source src="data:audio/mpeg;base64,{b64}#" type="audio/mpeg">
</audio>
"""
parent_element = parent_element or st
Expand Down

0 comments on commit 7e77d3b

Please sign in to comment.