# Can not set option width and height when set defaultViewType on lastest version 2.10.1

**URL:** <https://devforum.zoom.us/t/can-not-set-option-width-and-height-when-set-defaultviewtype-on-lastest-version-2-10-1/84072>\
**Category:** Web\
**Created:** [March 3, 2023, 2:02am UTC](https://devforum.zoom.us/t/can-not-set-option-width-and-height-when-set-defaultviewtype-on-lastest-version-2-10-1/84072 "2023-03-03T02:02:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thinh.pv](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@thinh.pv](https://devforum.zoom.us/u/thinh.pv)\
**Post date:** [March 3, 2023, 2:02am UTC](https://devforum.zoom.us/t/can-not-set-option-width-and-height-when-set-defaultviewtype-on-lastest-version-2-10-1/84072/1 "2023-03-03T02:02:55Z")

</div>

Zoom has updated to the latest version 2.10.1 to set default view (e.g. Gallery/Speaker). But when setting defaultViewType, the video options set width do not work.  
Please check back and let me know.

Best regards,  
John

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 7, 2023, 11:52pm UTC](https://devforum.zoom.us/t/can-not-set-option-width-and-height-when-set-defaultviewtype-on-lastest-version-2-10-1/84072/2 "2023-03-07T23:52:52Z")

</div>

Can you share a code sample of how you’re setting defaultView init parameters and setting the video options?

---

<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:** [April 7, 2023, 9:53am UTC](https://devforum.zoom.us/t/can-not-set-option-width-and-height-when-set-defaultviewtype-on-lastest-version-2-10-1/84072/3 "2023-04-07T09:53:41Z")

</div>

Closed on April 7, 2023, 9:53am UTC

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