decentralized-video-chat icon indicating copy to clipboard operation
decentralized-video-chat copied to clipboard

Local video doesn't resize after drag

Open Chaphasilor opened this issue 4 years ago • 3 comments

Normally, the local video frame will increase in size when the window size increases, and vice versa.

However, this mechanism stops working after dragging the local video around.
Once dragged, it will keep it's current size, no matter the window size.

Chaphasilor avatar Apr 12 '20 12:04 Chaphasilor

The issue likely stems from using jQuery to resize the video frame in the desktop layout. In the mobile layout, this problem doesn't exist.

Chaphasilor avatar Apr 12 '20 12:04 Chaphasilor

Steps to Reproduce :-

  1. Start the Application $ npm start

  2. Open Chrome Browser and enter localhost:3000

  3. Go to following URL :- http://localhost:3000/newcall

  4. Pick a call name Screen Shot 2020-05-07 at 11 31 23 PM

  5. Copy the Link for your call Copy Link

  6. Open the Copied Link in a new tab of chrome and resize the chrome window

resize chrome window

  1. Try to drag the local video around the screen. local video dragged

  2. Expand the Chrome window to full screen again and you will notice the size of local video being reduced. local video size reduction

Google Chrome 81.0.4044.129 (Official Build) (64-bit)
Revision 3d71af9f5704a40b85806f4d08925db24605ba25-refs/branch-heads/4044@{#979}
OS macOS Version 10.12.6 (Build 16G29)
JavaScript V8 8.1.307.31
Flash 32.0.0.363 /Users/pidugve/Library/Application Support/Google/Chrome/PepperFlash/32.0.0.363/PepperFlashPlayer.plugin
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36
Command Line /Applications/Google Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --flag-switches-end --enable-audio-service-sandbox
Executable Path /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

praneethkumarpidugu avatar May 08 '20 04:05 praneethkumarpidugu

Ahh, so this happens not only when resizing, but also when just dragging the video. Interesting!

Chaphasilor avatar May 31 '20 14:05 Chaphasilor