@clockworkdog/cogs-client 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,7 @@ class RtspStreamer {
22
22
  play(params) {
23
23
  var _a;
24
24
  const { uri, videoElement } = params;
25
+ videoElement.playsInline = true; // Required for iOS
25
26
  let pipeline;
26
27
  const startPipeline = () => {
27
28
  pipeline === null || pipeline === void 0 ? void 0 : pipeline.close();
@@ -266,6 +266,7 @@ class VideoPlayer {
266
266
  }
267
267
  createVideoElement(path, config, { volume }) {
268
268
  const videoElement = document.createElement('video');
269
+ videoElement.playsInline = true; // Required for iOS
269
270
  videoElement.src = urls_1.assetUrl(path);
270
271
  videoElement.autoplay = false;
271
272
  videoElement.loop = false;