- This topic has 8 replies, 4 voices, and was last updated 6 years, 7 months ago by Sakin.
-
AuthorPosts
-
November 14, 2014 at 7:13 am #47476WhitneyMember
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>
<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.
November 15, 2014 at 7:02 pm #47526SakinKeymaster@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.
November 25, 2014 at 7:11 am #48032WhitneyMemberThanks. 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.
November 25, 2014 at 12:40 pm #48038SakinKeymaster@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>
November 25, 2014 at 9:39 pm #48054WhitneyMemberThanks!
April 4, 2016 at 11:13 pm #88818sanja2016ParticipantHi. Two years later but hope for your response…Is it necessary to get into a Child theme only for this style youtube addition?
THANKS!
April 4, 2016 at 11:18 pm #88820SakinKeymaster@sanja2016: For these type of content style. You don’t need to build child theme.
September 21, 2017 at 3:19 pm #122823marinoleeParticipantHi 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=0Thanks!
September 22, 2017 at 7:57 am #122879SakinKeymaster@marinolee: Sorry, we don’t support Drupal. This support forum is only for the WordPress themes that have been developed by us.
-
AuthorPosts
- The topic ‘Embedding a YouTube Video in a Table’ is closed to new replies.