# Video is presented and video is resized (callbacks)

**URL:** <https://devforum.zoom.us/t/video-is-presented-and-video-is-resized-callbacks/57240>\
**Category:** macOS\
**Created:** [September 10, 2021, 1:22pm UTC](https://devforum.zoom.us/t/video-is-presented-and-video-is-resized-callbacks/57240 "2021-09-10T13:22:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [September 10, 2021, 1:22pm UTC](https://devforum.zoom.us/t/video-is-presented-and-video-is-resized-callbacks/57240/1 "2021-09-10T13:22:12Z")

</div>

Hi!

Thank you for adding `setResolution(:_)` method. It’s what we need!  
And after the new method integration and subsequent analysis we have figured out that it would be perfect to have few callbacks from ZoomSDK.

We really need two callbacks:

1. **When the video element is switched from ‘_unsubscribe_’ state to ‘_subscribe_’.**  
While switching video element is displaying gray background and only after it we can see video content. Could we have the event that would be inform us when the content is successfully presented?
2. **When the video is successfully resized.**  
I don’t mean video element view, but the content of it. Because view is resized very fast, but the content is resized after some moment. Could we have the event that would be inform us when the content is successfully resized?

Does it real to have this callbacks? How do you think?

Thank you!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 15, 2021, 1:04am UTC](https://devforum.zoom.us/t/video-is-presented-and-video-is-resized-callbacks/57240/2 "2021-09-15T01:04:35Z")

</div>

Hi @anton.yereshchenko, thanks for the suggestions.

> **When the video element is switched from ‘ _unsubscribe_ ’ state to ‘ _subscribe_ ’.**

This is actually something we have had suggested in the past, but have not yet committed to implementing. I will make note that it has been requested again. 🙂

> **When the video is successfully resized.**

This would be similar to the previous request in functionality, so if we add that in the future this should work as well.

Thanks!

---

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [September 20, 2021, 9:26am UTC](https://devforum.zoom.us/t/video-is-presented-and-video-is-resized-callbacks/57240/3 "2021-09-20T09:26:30Z")

</div>

Hi @jon.zoom,

cool, it would be super to have this callbacks, thank you!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 21, 2021, 6:18pm UTC](https://devforum.zoom.us/t/video-is-presented-and-video-is-resized-callbacks/57240/4 "2021-09-21T18:18:21Z")

</div>

Hi @anton.yereshchenko,

It’s looking like this should be included in a release by the end of the year.

Thanks!

---

<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:** [October 22, 2021, 4:18am UTC](https://devforum.zoom.us/t/video-is-presented-and-video-is-resized-callbacks/57240/5 "2021-10-22T04:18:59Z")

</div>

Closed on October 22, 2021, 4:18am UTC

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