WordPress.org

Support

Support » Themes and Templates » Spun » [Resolved] iframe in mobile mode

[Resolved] iframe in mobile mode

  • meyerwp

    @meyerwordpress

    Hello,
    I have a video embeded in a post with iframe code

    <iframe src=”//player.vimeo.com/video/84384627″ width=”500″ height=”281″ frameborder=”0″ webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

    in http://jeromemeyer.com/?p=1068

    but it loses proportion and it doesn’t remain centered in mobile mode

    thank you for your feedback!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    Without looking into it, isn’t that just because you’re specifying a “500” pixel width on the iframe?

    meyerwp

    @meyerwordpress

    hello Andrew,
    thank you for your feedback
    If I use a smaller size it will display too small in the
    computer display mode
    so this is not an option for me unfortunately
    ( and it doesn’t solve the problem..)

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    What happens when you don’t set a size at all?

    meyerwp

    @meyerwordpress

    Great, the proportion is looking good now;
    I still need to check it on my desktop but the test I did
    now from my smartphone it looks good.
    It is still not centered, meaning it is touching the right side
    of the page but this will be included in a new tread,
    Thank you!

    meyerwp

    @meyerwordpress

    My solution is with this plugin

    Advanced Responsive Video Embedder

    you can make it a good size in desktop mode and it is very responsive

    thank you Andrew for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] iframe in mobile mode’ is closed to new replies.
Skip to toolbar