Skip to content

IE11 doesn't support string literals #2

Description

@otacke

You're using string literals. Those are not supported by IE11 cmp. https://kangax.github.io/compat-table/es6/

Since H5P still strives to support that old browser, you might want to use common string concatenation or switch to a babel-based build chain like all the latest H5P content types.

var cardMedia = `<div class="card-media"><img class="card-image" src="${H5P.getPath(this.options.cards[i].params.cardImage.path, this.id)}"></div>`;

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