Skip to content

Conversation

@amirrnazemi
Copy link
Collaborator

This PR introduces a new shortcode type video, enabling HTML5 video rendering within Anything Shortcodes.

Included in this PR

  • Added Video_Type class with full HTML5 video support
  • Added support for attachment_id to automatically resolve media URLs
  • Added responsive inline styling output (only once per page)
  • Added host validation to block social video platforms (YouTube, Vimeo, etc.)
  • Added all standard HTML5 video attributes (autoplay, muted, loop, playsinline, preload, poster, width, height)

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