Skip to content

Fix viewport meta tag, seek() float precision, and add open issues summary#112

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/update-current-issue-list
Draft

Fix viewport meta tag, seek() float precision, and add open issues summary#112
Copilot wants to merge 2 commits intomasterfrom
copilot/update-current-issue-list

Conversation

Copy link

Copilot AI commented Mar 17, 2026

Three long-standing issues addressed: missing viewport meta tag causing small controls on device, seek() truncating sub-second positions due to Int parameter, and no consolidated view of open issues for contributors.

Changes

  • player.html — Added <meta name="viewport" content="width=device-width, initial-scale=1.0">. Without it, WKWebView uses desktop layout width, making player controls tiny on non-retina/variable-DPI devices.

  • YTSwiftyPlayer.swift — Changed seek(to:allowSeekAhead:) parameter from Int to Double. The IFrame API's seekTo() accepts fractional seconds; the Int constraint was silently flooring positions like 30.5s → 30s. Existing integer call sites promote automatically.

// Before
player.seek(to: 30, allowSeekAhead: true)

// After — sub-second precision now works
player.seek(to: 30.5, allowSeekAhead: true)
  • README.md — Added a Known Issues table listing all open issues with links and categories (Bug / Enhancement / Question) to help contributors triage.

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

…ek() float support (#59)

Co-authored-by: rinov <16882820+rinov@users.noreply.github.com>
Copilot AI changed the title [WIP] Update current issue list Fix viewport meta tag, seek() float precision, and add open issues summary Mar 17, 2026
Copilot AI requested a review from rinov March 17, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants