Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #47476
    Whitney
    Member

    Hello,

    I’m trying to embed a YT video in a table the but video doesn’t appear in the visual page editor or preview screen. Here’s what I’m using:

    <table style=”width: 100%;”>
    <tbody>
    <tr>
    <td>[youtube http://www.youtube.com/watch?v=46lb7hn4ukM%5D</td&gt;
    <td style=”vertical-align: top;”>Shalco U180 – this is placeholder text for this video</td>
    </tr>
    </tbody>
    </table>

    I tried using the URL in place of the embed code and had the same problem. I would appreciate any suggestions. Thank you.

    #47526
    Sakin
    Keymaster

    @Whitney: I am not sure that url will work in the table. So, I suggest you to get the embed code of the video from the youtube. In you youtube video, click in Share and then Embed and you will get the embed code.

    Also when you are using Table, make sure you have responsive design table or use responsive columns. You can get these from plugins.

    #48032
    Whitney
    Member

    Thanks. I removed the videos from the table to make it easier. Now the issue I have is that video is very large on the page. Updated the width and height within the embed code doesn’t make a difference. What can I do to make the videos smaller? Thank you.

    #48038
    Sakin
    Keymaster

    @Whitney: You can wrap it with the div with max width logic. For example: the following code will load your video with maximum 600px width.

    <div style="max-width: 600px">https://www.youtube.com/watch?v=46lb7hn4ukM</div>

    #48054
    Whitney
    Member

    Thanks!

    #88818
    sanja2016
    Participant

    Hi. Two years later but hope for your response…Is it necessary to get into a Child theme only for this style youtube addition?

    THANKS!

    #88820
    Sakin
    Keymaster

    @sanja2016: For these type of content style. You don’t need to build child theme.

    #122823
    marinolee
    Participant

    Hi Sakin, was wondering you could help me with this.

    We are on a web responsive platform, called Drupal. I wanted to see if you could tell me how to embed a youtube video into a table. For some reason the video is not showing up when I try to preview it.

    Here is what it looks like:
    https://www.dropbox.com/s/s0imz2cpltyr8hl/youtubeembedtable.png?dl=0

    Thanks!

    #122879
    Sakin
    Keymaster

    @marinolee: Sorry, we don’t support Drupal. This support forum is only for the WordPress themes that have been developed by us.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Embedding a YouTube Video in a Table’ is closed to new replies.