Sanford Whiteman

Changing the dimensions of mktoVideo (YouTube) elements on Guided LPs

Blog Post created by Sanford Whiteman on Oct 9, 2017

User BJ asked in this Nation threadabout changing mktoVideo dimensions from the default 420 x 315.

Even though I don't typically use mktoVideo, preferring 3rd-party players, I started probing the CrowdFactory API (CF being the real name of the “Marketo Social” widget that powers video elements).

After reverse-engineering for a bit, I had working code, but obviously someone must have tried to do this before, right? Um, yeah: me. Searching the Nation, I was disturbed to find I'd posted almost exactly the same codea year ago!

At least it wasn't exactly the same code. I did do a better job today (and edited the earlier post accordingly), so my li'l memory glitch had an upside. Anyway, now it's here for posterity.

All you need to do is add a couple of variables (you could also hard-code, but this is more flexible).




Read the full post on TEKNKL :: Blog →