[BUG] Video Pauses Every Time You Try to Play It on IOS (CapacitorCookies + Datadog Integration Issue)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- html, ios, javascript
- 領域
- mobile-dev, web-dev
調査の方向性
まず、レポートに示されている Datadog RUM の初期化、capacitor.config.json で有効にした CapacitorCookies、および提供された video element を使って、iOS デバイスまたはエミュレーターで問題を再現します。自動トラッキングをドキュメントに記載された一時的な回避策と比較し、Cookie と自動トラッキングを有効にした状態で動画再生が中断されなければ Issue は完了とします。
索引モデルが issue の本文から書いたものです。
説明
Description:
When using Datadog's automatic tracking with CapacitorCookies: { enabled: true } in a Capacitor app on iOS, video playback for video tags is interrupted or fails to function properly. This issue affects all video elements and any libraries that use them under the hood.
Through testing, it was identified that Datadog’s automatic tracking of user interactions (e.g., route changes, button clicks) conflicts with video playback on iOS. Disabling CapacitorCookies or setting trackViewsManually in Datadog can resolve the issue temporarily, but the underlying cause seems related to how Capacitor handles cookies in combination with Datadog’s tracking.
Environment:
IOS device/emulator 17.5 ( any version bug is reproducable )
Plugin
CapacitorCookies with capacitor 6.0.0( any version bug is reproducable )
Step to reproduce
1)Initialize a Capacitor iOS app with the following configuration:
datadogRum.init({
trackViewsManually: false,
...
});
2)Enable CapacitorCookies in capacitor.config.json:
{
"CapacitorCookies": {
"enabled": true
}
}
3)Add a video tag to any component or page:
<video controls width="300">
<source src="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4" />
Sorry, your browser doesn't support embedded videos.
</video>
4)Run the app on an iOS device/emulator and attempt to play the video.
Expected Behavior:
The video should play without any interruptions or issues.
https://github.com/user-attachments/assets/35e85295-2ec7-4676-96f2-7cc4e3b24d48
Actual Behavior:
The video fails to play or stops unexpectedly.
https://github.com/user-attachments/assets/1300d3d9-e8d8-4e0d-907f-5cc2b7d66398
Minimal reproducible example (please use your own Datadog credentials)
- 主要言語
- Java
- スター
- 685
- フォーク
- 691
- 平均マージ
- 16時間 33分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ionic-team/capacitor-plugins のほかの issue
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ionic-team/capacitor-plugins#2616 ·
-
[@capacitor/app] iOS: 'Expression implicitly coerced from String? to Any' warning in getAppLanguageオープンtriage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
ionic-team/capacitor-plugins#2604 ·
-
triage
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
ionic-team/capacitor-plugins#2615 ·
-
triage
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
ionic-team/capacitor-plugins#2614 ·
-
platform: android platform: ios
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
ionic-team/capacitor-plugins#2613 ·
ionic-team/capacitor-plugins の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
federicoiosue/Omni-Notes#1032 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
unitycatalog/unitycatalog#2025 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
krizaka/krizaka-notifications#22 ·
メンテナーはふだん 1 日以内に返信
-
CommandDispatcher.register returns a node that is not in the tree when the literal is already registered対応中かも @auraseb が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
-
ToolCallbackProvider AutoConfiguration does not preserve tool order対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンstatus: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
spring-projects/spring-ai#7206 ·
メンテナーはふだん 2 日以内に返信