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

Anonymous
Not applicable

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

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?
Tags (1)
4 REPLIES 4
Anonymous
Not applicable

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

Could you please post the embed code here? 
Anonymous
Not applicable

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

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
Anonymous
Not applicable

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

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.
Anonymous
Not applicable

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

The update you made to your code should increase the size of the video. Let us know if that is not case?