Re-size embedded video for mobile

Support Area Forums Elite Re-size embedded video for mobile

Viewing 3 posts - 1 through 3 (of 3 total)
URL to the page in question: http://www.jackohagan.com.au/video/
  • Author
    Posts
  • #32061
    LeanneKingwell
    Participant

    Hi Bill,

    Hope you’re well 🙂

    I’m wondering if there is a way to re-size the 5 x embedded youtube videos on this page for mobile please?

    Best,
    Leanne

    #32062
    Bill Robbins
    Moderator

    Good Morning Leanne,

    There are two ways you can make the videos responsive. The first is to use WordPress’ oEmbed feature. Basically instead of using the embed code from YouTube, you place the URL to each video on its own line. WordPress will go and fetch the video at that URL and display it for you. The theme will also make these responsive.

    If you do need to use YouTube’s embed code, you can wrap it in a shortcode to make it responsive. Add this before each embed code:

    
    [fit]
    

    and this after:

    
    [/fit]
    

    and that should make those responsive too.

    Have a great day,
    Bill

    #32113
    LeanneKingwell
    Participant

    Perfect!
    Thanks so much Bill.
    Appreciate your wonderful service as always. 🙂

    Best,
    Leanne

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Re-size embedded video for mobile’ is closed to new replies.