Skip to content

Video docking requests #10521

@wassgha

Description

@wassgha
  • Prevent docking if the minimized video's height is going to end up bigger than the viewport height
  • Handle videos with height bigger than their width
  • Add dock-corner parameter that overrides the default docking corner
  • Add dock-scale parameter (0 to 1 non inclusive)
  • Add snap-element and snap-pos (outer/inner) parameters for snapping the docked video to specific elements
  • Use fixedLayer (or signals?) to detect fixed position amp components and adjust the docking area accordingly
  • Add a maximum width/height for minimized videos (on desktop, 60% of the original video can sometimes be very big)
  • Ability to dismiss while docking
  • Tap on an empty area to hide controls
  • Maybe show controls when the videos finishes docking to make users aware of interactions methods
  • Fix bug with controls not appearing
  • Resize event waits till user no longer tapping (use position observer)
  • If we come back from fullscreen then the video should stay minimized
  • Dock autoplaying videos
  • Add minimum of 200px and a maximum as well as attributes to control them
  • Make dismissing the video more sensitive
  • Fade out as you're going outside of the viewport to indicate dismissing the video
  • Make video continue scrolling if halfway (or just minimize to corner without scrolling)
  • Use placeholder to display instructions on how to interact with the docked video
  • Expose the undock action
  • Expose CSS for placeholder
  • Only show gray overlay once docking starts
  • Set docked video's z-index to be the second highest after amp-sidebar

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions