Skip to content

Conversation

@amirrnazemi
Copy link
Collaborator

This PR introduces a new shortcode type audio, enabling HTML5 audio playback within Anything Shortcodes.

Included in this PR

  • Added Audio_Type class to handle [anys type="audio"]
  • Implemented HTML5 <audio> rendering with support for local files and direct URLs
  • Added attachment_id support to resolve audio sources from WordPress media IDs
  • Implemented host validation to block streaming platforms such as SoundCloud, Spotify, Apple Music, Deezer, Tidal, Pandora, Mixcloud, and Audiomack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants