Skip to content

Validations for <audio> and<source>... #45

@Pjero

Description

@Pjero

Can you please add attribute validations for and so links to audio files can have controls and be listened from the browser.
I tried to add them in validators.js.erb, but nothing seems to work. I had ta add the tags with JS.
This what I've added to validators.js.erb:

 "audio": {
      "attributes":[
        "controls"
      ]
    },
"source": {
      "attributes":[
        "src"
      ]
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions