Skip to content

Add a wistia path for the video shortcode #313

Open

Description

@cwickham

E.g. to avoid having to insert this:

<script src="https://fast.wistia.com/player.js" async></script><script src="https://fast.wistia.com/embed/at01coepkh.js" async type="module"></script><style>wistia-player[media-id='at01coepkh']:not(:defined) { background: center / contain no-repeat url('https://fast.wistia.com/embed/medias/at01coepkh/swatch'); display: block; filter: blur(5px); padding-top:58.76%; }</style> <wistia-player media-id="at01coepkh" aspect="1.701851851851852"></wistia-player>

Have something like:

{{< video src="https://fast.wistia.com/medias/at01coepkh" >}}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions