# Stretch video, video sdk 1.10.0, safari iphone

**URL:** <https://devforum.zoom.us/t/stretch-video-video-sdk-1-10-0-safari-iphone/110757>\
**Category:** Web\
**Tags:** phone, video-sdk\
**Created:** [May 27, 2024, 9:48am UTC](https://devforum.zoom.us/t/stretch-video-video-sdk-1-10-0-safari-iphone/110757 "2024-05-27T09:48:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dunt](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dunt/32/60077_2.png) [@dunt](https://devforum.zoom.us/u/dunt)\
**Post date:** [May 27, 2024, 9:48am UTC](https://devforum.zoom.us/t/stretch-video-video-sdk-1-10-0-safari-iphone/110757/1 "2024-05-27T09:48:54Z")

</div>

**Description**  
Display video canvas is stretched.

**Which Web Video SDK version?**  
1.11.0

**Video SDK Code Snippets**  
according to my guess:

class dA extends HTMLElement {  
static get observedAttributes() {  
return [aA, uA];  
}  
constructor() {  
super(),  
(this.canvasId = “video-player-canvas-” + jI()),  
(this.needInitCanvas = !1),  
(this.callback = null),  
LI(this, dA.customAttributes);  
const e = this.attachShadow({ mode: “open” }),  
t = document.createElement(“slot”);  
(this.appendCanvas = (o) =\> {  
e.insertBefore(o, t);  
}),  
e.appendChild(t);  
}

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Join meeting room with safari on Iphone version 15.8.2

**Device (please complete the following information):**

- Device: iphone7
- IOS version: 15.8.2
- Browser: Safari

**Additional context**

- when I update SDK from 1.10.0 to 1.11.0, i faced this issue.
- I debug on safari, when version of ios is 15.8.2, browser will display video by Canvas but with version 16.7.2 displaying video by video element so that dont get issue on 16.7.2.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [May 27, 2024, 9:57am UTC](https://devforum.zoom.us/t/stretch-video-video-sdk-1-10-0-safari-iphone/110757/2 "2024-05-27T09:57:32Z")

</div>

Hey @dunt

Thanks for your feedback.

We have identified the issue and will release a fix shortly. Please stay tuned.

A workaround for this is to add the `originalRatio: true` option when calling the `stream.startVideo` method.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 26, 2024, 7:57pm UTC](https://devforum.zoom.us/t/stretch-video-video-sdk-1-10-0-safari-iphone/110757/3 "2024-06-26T19:57:39Z")

</div>

Closed on June 26, 2024, 7:57pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
