Ticket #1476 (closed bug: duplicate)
Scaling of the <video> tag also scales iOS controls
| Reported by: | jeroen | Owned by: | pablo |
|---|---|---|---|
| Priority: | Normal | Milestone: | Player 6.0 beta |
| Component: | html5 | Keywords: | |
| Cc: | Forum thread: |
Description
We shouldn't scale the <video> tag, since it also scales the iOS controls. This may lead to tiny controls, or controls that fall off the stage.
Instead of coming up with an edge case for iOS, we could also look into scaling the video e.g. with CSS transforms. Or into not scaling the video tag at all.
Change History
comment:2 Changed 20 months ago by jeroen
For the player, it's probably best to ignore stretching and set the video element's dimensions to the display dimensions on iOS. This would be the equivalent of stretching=exactfit.
The iOS video element automatically stretched the video itself internally, so the image would not get skewed.
Note: See
TracTickets for help on using
tickets.

From the forums:
Problem seems to happen when using configuration option stretching: 'fill'. I now make a distinction between iOS and non-iOS devices. On non-iOS device I use stetching: fill. On iOS devices I use stretching: uniform.