Ticket #1476 (closed bug: duplicate)

Opened 20 months ago

Last modified 10 months ago

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:1 Changed 20 months ago by pablo

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.

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.

comment:3 Changed 16 months ago by pablo

  • Milestone changed from Player 5.9 to Player 6.0

We should investigate the supported CSS properties related to the <video> tag and poster image in v6.

comment:4 Changed 10 months ago by jeroen

  • Status changed from new to closed
  • Resolution set to duplicate

This can be fixed after iOS supports CSS3 object-fit. Supporting that property (plus an API class) is part if #1452

Note: See TracTickets for help on using tickets.