mediaRecorder to respect container size on print()

PennController for IBEX Forums FAQ / Tips mediaRecorder to respect container size on print()

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10407
    kschuler
    Participant

    Sharing that we were able to get a video mediaRecorder to resize as expected by adding the following to the PennController.css

    
    video {
      height: auto;
      width: 100%;
    }
    

    Then you can do things like the following and the video will resize to the container

    
    getMediaRecorder("recorder")
      .cssContainer({"height":"30vh", "width":"30vw"})
      .center()
      .print()
    
    • This topic was modified 1 year, 2 months ago by kschuler.
    • This topic was modified 1 year, 2 months ago by kschuler.
    #10415
    Jeremy
    Keymaster

    Thanks for the tip!

    Jeremy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.