Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

[Feature Request] Extend minimum/maximum `StageWebView::viewPort` values

Open itlancer opened this issue 1 year ago • 1 comments

Feature Description

StageWebView::viewPort minimum/maximum values should be extended to support output to big videowalls. Right now maximum value 8191 and minimum -8193. If you try to set up viewPort out of this range you will get ArgumentError.

var stageWebView:StageWebView = new StageWebView(true);
stageWebView.loadURL("https://airsdk.harman.com/");
stageWebView.viewPort = new Rectangle(0, 0, 8192, 620);

cause

ArgumentError: Error #2006: The supplied index is out of bounds.
	at flash.media::StageWebView/set viewPort()

Related issues: https://github.com/airsdk/Adobe-Runtime-Support/discussions/3011 https://github.com/airsdk/Adobe-Runtime-Support/issues/2687 https://github.com/airsdk/Adobe-Runtime-Support/issues/2318 https://github.com/airsdk/Adobe-Runtime-Support/issues/2163 https://github.com/airsdk/Adobe-Runtime-Support/issues/2162 https://github.com/airsdk/Adobe-Runtime-Support/issues/2159 https://github.com/airsdk/Adobe-Runtime-Support/issues/524 https://github.com/airsdk/Adobe-Runtime-Support/issues/196

Known Workarounds

none May be write native extension with own webview implementation.

itlancer avatar Jan 24 '24 12:01 itlancer

Works as expected with AIR 51.0.0.2. Waiting for fixes: https://github.com/airsdk/Adobe-Runtime-Support/issues/3083 https://github.com/airsdk/Adobe-Runtime-Support/issues/3084 and production release to close this feature request as completed.

itlancer avatar Feb 24 '24 13:02 itlancer

Fixed. Tested with AIR 51.0.1.5. Thanks!

itlancer avatar Jul 29 '24 22:07 itlancer