Videos set to play inline open fullscreen in the iOS editor
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- html, ios, javascript, swift
- 領域
- mobile
調査の方向性
修正はエディタの iOS 側、WKWebView が構成される場所に入れる必要があります。その構成が作成される箇所を見つけ、allowsInlineMediaPlayback が設定されているか確認してください。iPhone シミュレータで Video ブロックを使い、"Play inline" で再現し、webkitDisplayingFullscreen が false のままであることを確認してください。iPhone でブロック内で動画が再生され、"Play inline" がオフのときに全画面表示が引き続き機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
On iPhone, a Video block with "Play inline" turned on plays in the system fullscreen player when played in the editor. I expect it to play inside the block, as a <video playsinline> does in Safari.
The editor's WKWebView doesn't set allowsInlineMediaPlayback, which defaults to false on iPhone, so WebKit ignores playsinline and plays every video fullscreen. Setting it to true would let each video's own setting apply, as in Safari: inline with playsinline, fullscreen without.
Step-by-step reproduction instructions
- On an iPhone, open the iOS demo app's Standalone Editor.
- Add a Video block with a video URL and turn on "Play inline".
- Select the block and tap play.
Expected: the video plays inside the block.
Actual: the system fullscreen player opens. webkitDisplayingFullscreen is true 1 ms after playback starts.
Screenshots, screen recording, code snippet
Environment info
GutenbergKit trunk (0.20.1), iOS demo app, iPhone 17 simulator on iOS 27.2. Not tested on iPad, where allowsInlineMediaPlayback defaults to true.
Please confirm that you have searched existing issues in the repo.
- Yes
- 主要言語
- JavaScript
- スター
- 29
- フォーク
- 6
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 77
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wordpress-mobile/GutenbergKit のほかの issue
-
Bug Gutenberg
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
wordpress-mobile/GutenbergKit#940 ·
メンテナーはふだん 1 日以内に返信
-
[Type] Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
wordpress-mobile/GutenbergKit#884 ·
メンテナーはふだん 1 日以内に返信
-
[Type] Bug Android
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
wordpress-mobile/GutenbergKit#847 ·
メンテナーはふだん 1 日以内に返信
-
[Type] Bug iOS
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
wordpress-mobile/GutenbergKit#846 ·
メンテナーはふだん 1 日以内に返信
-
[Type] Bug [Type] Code Quality iOS
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
wordpress-mobile/GutenbergKit#668 ·
メンテナーはふだん 1 日以内に返信
wordpress-mobile/GutenbergKit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ClouGence/open-cdm#487 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
cloudflare/workers-sdk#17159 ·
メンテナーはふだん 1 日以内に返信
-
size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
blackie0424/tao_among#184 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
open-webui/open-webui#35045 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Security]Unauthenticated WebSocket JSON.parse Without Error Handling Leads to Process Terminationオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
nocobase/nocobase#11711 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信