Support Forum

Youtube video insert/embed from TinyMCE not working

66 Answers

New Answer

LM Lori Matsumoto
Lori Matsumoto
Member

Ok great. And maybe Andy will have some ideas, as the forum video embed works for most on the current Simple:Press version. 

Thanks again for your time!

MP Mr Papa
Mr Papa
Member

np. glad to help… just want to solve it…  will think on it and see what Andy says… but leaning towards the theme based on info… Thursday release may help…

YS Yellow Swordfish
Yellow Swordfish
Member

If you wanted to zip up a copy of the WP theme and send it to me so I can test it here with embedding then I can give you an email address to send it to.

LM Lori Matsumoto
Lori Matsumoto
Member

Sure, should I just zip up everything in wp-content/themes/themefit-hybrid ?  Let me know what email address to send it to.  Thanks.

MP Mr Papa
Mr Papa
Member

yes. send it to support at simple-press dot com…

LM Lori Matsumoto
Lori Matsumoto
Member

Sent, let me know if I can take anymore screenshots of options or anything to help.  Thanks!

MP Mr Papa
Mr Papa
Member

received…  will see if one of us can look at today…  time might be difficult with the 5.1 release coming tomorrow…

YS Yellow Swordfish
Yellow Swordfish
Member

Well – I CAN tell you that the problem comes from these rules in your WP theme style.css file:

.responsive-container
{
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.responsive-container iframe,
.responsive-container object,
.responsive-container embed
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

However solving the problem and not having any knock-on effect on embeds in other places on your site may need someone with more cunning CSS skills than I…

LM Lori Matsumoto
Lori Matsumoto
Member

I searched all the theme files for responsive-container and it only occurs in themefit-hybrid/js/themefit.init.jQuery.js lines 16-18; it is only called for pages on iphones.

If you check the browser view source for http://markwaid.com/mwforum/forum-bugsproblemsissues/this-is-a-test/ does not have responsive-container in it anywhere.  

YS Yellow Swordfish
Yellow Swordfish
Member

When I embed a video on my test site here using your theme I get the iframe within a div with a class of ‘responsive-container’.
And the CSS for that is in the style.css file of the theme

I see this on your site too at the page you linked to above.

LM Lori Matsumoto
Lori Matsumoto
Member

I have repeatedly done finds on the browser view source for the http://markwaid.com/mwforum/forum-bugsproblemsissues/this-is-a-test/ page and I don’t get ‘responsive’ at all.  I did a find for ‘container’ and looked at each result and none were ‘responsive-container’.  Can you paste a chunk of code from your view source including ‘responsive-container’ so I have other things near it to Find for?

LM Lori Matsumoto
Lori Matsumoto
Member

er, i mean your view source for http://markwaid.com/mwforum/forum-bugsproblemsissues/this-is-a-test/

LM Lori Matsumoto
Lori Matsumoto
Member

I had a friend view source on that forum page and look for ‘responsive’ and she didn’t find it.  I saved the HTML source of it locally and opened it with BBedit and did not find ‘responsive’