Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] auto-embed with in stream


  • wh82
    Participant

    @wh82

    Hi,

    I embedded a YouTube video by just posting the URL in my bp stream.

    To adjust the width I added the following to my functions.php:

    
    if ( ! isset( $content_width ) )
        // Change 640 to whatever the width of your column is
         $content_width = 358;
    

    The problem is: on mobile devices, the with is still 358px, and changing 358 to 100% doesn’t work… anyone know how to solve this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] auto-embed with in stream’ is closed to new replies.
Skip to toolbar