Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    Responsive video link

    Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor)
    2
    5
    277
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pierre SULPICE
      Pierre SULPICE last edited by

      Hello,

      A video put with the rich text (in cloud backend for my exemple) is ignoring the right margin even in responsive mode, so on mobile phone it looks unaligned :
      e30c683b-6742-431a-aeb5-a6c87094d107-image.png

      I think it's most likely because it wants to take 100% of the space, which is 400px on this frame, but with the margins there is only 370px available.

      For now to fix it I put the responsive the "Specific" and choose 370px.

      Is it a known issue ? The normal behavior ? Is there any quick solution to fix it while keeping the video setting at "Responsive" ?

      Thanks a lot,
      Best regards,

      1 Reply Last reply Reply Quote 0
      • Wassim
        Wassim last edited by

        @Pierre-SULPICE said in Responsive video link:

        I think it's most likely because it wants to take 100% of the space, which is 400px on this frame, but with the margins there is only 370px available.
        For now to fix it I put the responsive the "Specific" and choose 370px.

        Hi,

        I'm not sure to understand what I see on the screen and what is the margin you're referring to.

        Is this a modal? Where is the margin right coming from? Couldn't it be a padding if it's coming from your side?

        Pierre SULPICE 1 Reply Last reply Reply Quote 0
        • Pierre SULPICE
          Pierre SULPICE @Wassim last edited by

          @Wassim sorry I meant padding, it's a 15px righ padding on the column.
          It's the usual 15 left/right column padding

          It's not directly my code but it looks like it's just a div with text which is replaced by the database content, I suppose the video responsive settings just resize at the screen size and not really the div size.

          1 Reply Last reply Reply Quote 0
          • Pierre SULPICE
            Pierre SULPICE last edited by

            Update:
            I have the same issue with other projects outside AppDrag, looks like it's a known video iframe issue, gonna update later if we find a general trick not involving playing with the video dimension for every each of them<

            1 Reply Last reply Reply Quote 0
            • Pierre SULPICE
              Pierre SULPICE last edited by

              Et me voilà qui me répond finalement ^^
              C'est en fait un problème connu de l'inté de vidéos par un rich text.

              Il suffit de chopper le parent de l'iframe et d'appliquer à lui et ses enfants un max-width de 100% et c'est réglé, ça respectera les limites du conteneurs dans lequel il est inséré 😉

              En substance en un screen ça fait ça par le Dev Tools :
              40f8e40a-dbaa-4103-9951-ea3f71daf96c-image.png

              C'est assez spécifique comme problème mais sait-on jamais, ça peut resservir à quelqu'un 😉

              Bonne journée

              1 Reply Last reply Reply Quote 0
              • First post
                Last post