posit-dev / posit-dev/open-source-website

Add a wistia path for the video shortcode

Open
#313 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
55
Forks
24
Avg merge
1d 21h
Merged PRs (30d)
17

Description

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" >}}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the existing video shortcode and inspect how its src value is rendered. Add support for Wistia media URLs so the example can use the shortcode instead of inline player markup, then verify the rendered page loads the video correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, hugo
Domain
web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.