Skip to content

Embedded YouTube Player: Several Embed Features and Translations No Longer Working #378

@mariobehling

Description

@mariobehling

Several YouTube embed options that were previously functional in eventyay-video are no longer working. Some things might work on one browser, but they do not always take effect on another browser. E.g. if I change it in my current browser and I test it it does not take effect. In any case features like hide controls never seem to work anywhere anymore. More details below.

Affected Language Features:
The language feature is supposed to just switch the language and keep the original video playing in the background. However sometimes the video stops playing and the user needs to click and start it from the beginning.

We might have to revert this PR #196 to add autoplay enablement for all as some features seems to work only when autoplay is enabled. Currently this feature is user controlled. I think it should no longer be user controlled. Some sites mentions the feature controls=0 which removes the playback bar controls at the bottom in some cases, requires autoplay (autoplay=1) to work properly.

Other Affected Features:

  • nocookie: YouTube privacy-enhanced mode not respected
  • loop=1 with playlist: Looping no longer works reliably
  • modestbranding=1: Branding (YouTube logo) still appears
  • controls=0: Playback controls are not consistently hidden
  • rel=0: Related videos from other channels still appear
  • disablekb=1: Keyboard shortcuts still functional
  • showinfo=0: Video title and info still shown (parameter deprecated)

Expected Behavior:

The embed player should:

  • Use the youtube-nocookie.com domain to respect privacy if chosen
  • Loop videos when configured
  • Hide branding and controls as specified
  • Disable keyboard shortcuts when requested
  • Avoid showing unrelated video suggestions

Current Behavior:

These settings have no effect or are partially ignored, likely due to YouTube’s changes to its embed API. For example, showinfo=0 has been deprecated.

Steps to Reproduce:

  1. Embed a YouTube video in rooms
  2. Load the video in eventyay-video
  3. Observe that branding, controls, related videos, and keyboard interactions are still active

Suggested Solution:

  • Investigate which parameters still work with the current YouTube embed API
  • Update the embed logic and UI to only expose effective settings
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions