How can we change the container size for a youtube video? | Community
Skip to main content
August 27, 2014
Question

How can we change the container size for a youtube video?

  • August 27, 2014
  • 4 replies
  • 1008 views
We are try to embed some videos on our non-marketo page using the Marketo youtube Video embed code and we're having difficulty changing the size of the container that the video can be viewed in. It's so small that it negates teh benefits of using the Marketo embed code. Anyone have ideas on this?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

August 27, 2014
Could you please post the embed code here? 
August 27, 2014
There is a way you can modify it in the embed code to make it bigger. It is described in this thread here: https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PfbxAAC
August 27, 2014
Header
<script type="text/javascript" src="//b2c-mlm.marketo.com/jsloader/ded37bec-c777-4b0e-92b4-426e2accce12/loader.php.js"></script>
 
Body
<div class='cf_widgetLoader cf_w_457e53ca8a744aa3b8c48572719667bb_Video'></div>
 
And if the recommended thread is correct, all I need to do is this:
<div class='cf_widgetLoader cf_w_457e53ca8a744aa3b8c48572719667bb_Video' options='{"videoWidth":1280, "videoHeight": 720}'></div>
 
I’ll try it out and let you know.
 
Thanks guys.
August 27, 2014
The update you made to your code should increase the size of the video. Let us know if that is not case?