Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Fix embedded YouTube videos #906

Merged
merged 1 commit into from
May 30, 2023
Merged

Conversation

hotzenklotz
Copy link
Member

@hotzenklotz hotzenklotz commented May 30, 2023

Description:

  • The PR fixes embedded YT video links. Requires partner-PR in WK-repo to work
  • The mkdocs-video plugin is configured to use native HTML5 video controls by default which makes a lot of sense for videos hosted by us on S3. Tis does not, however, work with YT videos which require an iFrame for embedding. The PR adds a seconds instance of the plugin with a different keyword youtube-video to handle YT videos. A future version (1.6.0) might support overwriting a the global config with just one version of the plugin, e.g. ![type:video](https://www.youtube.com/embed/jsz0tc3tuKI?start=372){: iframe}.

Issues:

  • no open issue

Todos:

Make sure to delete unnecessary points or to check all before merging:

  • Updated Changelog
  • Updated Documentation
  • Added / Updated Tests
  • Considered adding this to the Examples

@hotzenklotz hotzenklotz enabled auto-merge (squash) May 30, 2023 09:32
@hotzenklotz hotzenklotz merged commit 3e75a1a into master May 30, 2023
@hotzenklotz hotzenklotz deleted the fix_youtube_embeddings branch May 30, 2023 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants