content icon indicating copy to clipboard operation
content copied to clipboard

doc: Added additional information about using URLs, base64 strings

Open Ashish-CodeJourney opened this issue 1 year ago • 7 comments

Description

Updated the <audio> element documentation to include more detailed information about different source options and their implications.

Motivation

These changes provide readers with a more comprehensive understanding of the <audio> element's capabilities and limitations, particularly regarding different source types like URLs, base64-encoded strings, and MediaStream objects.

Additional details

  • Added information about URL sources and their impact on server requests during seeking
  • Included details about using base64-encoded strings as audio sources
  • Mentioned limitations of MediaStream sources
  • Provided a functional example of a base64-encoded audio file

Related issues and pull requests

Fixes #36338

These changes aim to address gaps in the existing documentation and provide more practical, real-world examples for developers working with the <audio> element.

Ashish-CodeJourney avatar Oct 15 '24 19:10 Ashish-CodeJourney

Preview URLs

Flaws (1)

URL: /en-US/docs/Web/HTML/Element/audio Title: <audio>: The Embed Audio element Flaw count: 1

  • macros:
    • /en-US/docs/Web/JavaScript/Reference/MediaStream does not exist

(comment last updated: 2024-10-26 17:29:45)

github-actions[bot] avatar Oct 15 '24 19:10 github-actions[bot]

@Ashish-CodeJourney, next time, remember that AI-generated content is strictly forbidden. I think it's quite obvious that your writing is AI-assisted, in part because your link is referring to the old location of data URLs which no longer exists anywhere in content.

Josh-Cena avatar Oct 15 '24 19:10 Josh-Cena

@Ashish-CodeJourney, next time, remember that AI-generated content is strictly forbidden. I think it's quite obvious that your writing is AI-assisted, in part because your link is referring to the old location of data URLs which no longer exists anywhere in content.

I should disable my copilot, And about that link '"URI" I think it's still reflects the same

I will take care of this from next time

Ashish-CodeJourney avatar Oct 15 '24 19:10 Ashish-CodeJourney

@Ashish-CodeJourney, next time, remember that AI-generated content is strictly forbidden. I think it's quite obvious that your writing is AI-assisted, in part because your link is referring to the old location of data URLs which no longer exists anywhere in content.

I only use AI tools for checking grammar, but will take care of this

Ashish-CodeJourney avatar Oct 15 '24 19:10 Ashish-CodeJourney

I should disable my copilot,

That should be fine. I use Copilot too and I don't think it comes off very robotic. But yes just keep in mind that we want it to be your own voice.

Josh-Cena avatar Oct 15 '24 20:10 Josh-Cena

I should disable my copilot,

That should be fine. I use Copilot too and I don't think it comes off very robotic. But yes just keep in mind that we want it to be your own voice.

Yes obviously, even I don't like LLM-generated content that sounds too robotic and not genuine.

I will try to be more specific and own words.

thanks for suggestions.

Ashish-CodeJourney avatar Oct 16 '24 11:10 Ashish-CodeJourney