aoberoi / cordova-plugin-opentokjs

A Cordova plugin to enable use of OpenTok on the iOS, Android, and Browser platforms.
MIT License
21 stars 16 forks source link

iOS publisher <video> elements do not fill the height of the publisher #4

Open aoberoi opened 9 years ago

aoberoi commented 9 years ago

This has been observed on the publisher, but might also effect the subscriber (if the stream is published from an iOS device using this plugin).

aoberoi commented 9 years ago

Here is a screenshot of me observing this behavior. Notice that there is no height/width on the video element in the DOM, and the styles inspector shows just width set to 100%.

screen shot 2015-06-24 at 11 14 11 pm

img_1578

Next is a screenshot of running the same code in the browser. Notice that we get left, width, and height set in the DOM, and the styles inspector doesn't have any additional styles.

screen shot 2015-06-24 at 11 17 41 pm

aoberoi commented 9 years ago

We may need to punt on this issue until opentok.js supports object-fit based sizing of video views.