Skip to content

attrs not working properly? #15

@derflocki

Description

@derflocki

If I understand the docs corretly, "attrs" are est as sttributes of the resulting .

So I tried something like:
$('.media').media({
width: "100%",
height: "100%",
autoplay: true,
attrs: {
id: 'id_' + new Date().getTime(),
attr1: 'something else'
}
});
without success.

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