Support Forum

YouTube / Vimeo Mobile Embeds Not Working (Reboot)

EK Edward Koon
Edward Koon
Member

Hi Guys.. Trying to run down a problem of disappearing video embeds when using Reboot theme.

Using an older Artisteer theme i like, less bloat etc. All is fine for blog posts with embedded videos. But in simplepress i can resize my browser window until the theme switched to mobile view, at that time any embedded video disappears. I can view the source and see the video embed code, but the video vanishes.

An example is here. Load up that page and decrease your browser width. I’m thinking it has something to do with the Artisteer theme, but there might be a code snippet that will cure it.

Much Obliged.. wink

10 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

That’s weird.

I think it is a combination. For some reason, when reduction hits the 1030px mark not only the CSS changes – which we might expect – bit it seems the HTML changes as well. This brings into play our SP ‘base-reset’ css (within the Reboot styles folder) which sets the default padding to zero. And that is what it does not seem to like…

You could try changing that – actually you would need to remove the padding statement from the base-reset (the big list of elements). Might be worth doing to see if that (a) fixes the problem and (b) to see what other knock-on effect such a change might make.

If all is well we may be able to come up with a useable long-term solution.

EK Edward Koon
Edward Koon
Member

Thanks Andy, that theme has a separate responsive.css file that must take over when the screen reaches a certain resolution.I believe 1030px is the themes default sheet width, had to fiddle here and there to make everything fit within the containers.

Will try your suggestion tomorrow.

EK Edward Koon
Edward Koon
Member

Tried removing the padding line with no changes.

YS Yellow Swordfish
Yellow Swordfish
Member

odd – that worked for me.
there is also a setting on the new div that the video is contained in that sets the height to zero. Try removing that as well.

EK Edward Koon
Edward Koon
Member

Nope.. Deleted the cache, including CloudFlare but no help.

EK Edward Koon
Edward Koon
Member

Yes other themes works fine. Videos have never worked with simplepress and my Artisteer theme, just decided i like Artisteer for what is is (now abandon ware) and was hoping to figure it out.

I’m lost in code anyway.. Though getting somewhat better in my golden years. I was hoping it was a code snippet that disabled the sidebar in responsive mode, but removing that didn’t help either.

EK Edward Koon
Edward Koon
Member

Yellow Swordfish said
so, does it work with other themes?  

I gave up on that theme. Ran a theme test plugin and found pages of errors and obsolete code. 

The last software update was 2014. They came up with a Themlier project that was supposed to supercede Artisteer but apparently that flopped and is said to be abandon ware as well. Dumb idea using wordpress as a theme generator (in my humble opinion.) 

Too bad, Artisteer had a ton of theme design options, but they never did get the responsive option correct. Oh well.. Life goes on! 

Thanks for your help. 

MP Mr Papa
Mr Papa
Member

sorry to hear… let us know how you get on with new theme and if you have any questions…