Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[BUG] Video Pauses Every Time You Try to Play It on IOS (CapacitorCookies + Datadog Integration Issue)

オープン
#2,190 コメント 10 件 リアクション 5 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
html, ios, javascript

調査の方向性

まず、レポートに示されている Datadog RUM の初期化、capacitor.config.json で有効にした CapacitorCookies、および提供された video element を使って、iOS デバイスまたはエミュレーターで問題を再現します。自動トラッキングをドキュメントに記載された一時的な回避策と比較し、Cookie と自動トラッキングを有効にした状態で動画再生が中断されなければ Issue は完了とします。

索引モデルが issue の本文から書いたものです。

説明

needs reproduction platform: ios

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)

https://github.com/bulletbrand/safe-area-demo-repo

主要言語
Java
スター
685
フォーク
691
平均マージ
16時間 33分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/capacitor-plugins のほかの issue

ionic-team/capacitor-plugins の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。