Code for Youtube video embed width | Community
Skip to main content
Community Advisor
April 26, 2016
Question

Code for Youtube video embed width

  • April 26, 2016
  • 1 reply
  • 1443 views

I have a guided landing page with a video section:

<meta class="mktoBoolean" id="videoSection" mktoName="Video" default="false" false_value="none" true_value="block" false_value_name="Hide" true_value_name="Show">

For my CSS in the videosection I have:

.videoSection

      {

        display:${videoSection};

        text-align: center;

        max-width: 100%;

      }

The video is not responsive, so I'm missing some code somewhere... I tried to look, but Product Docs are offline at the moment...

Thanks!~

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Kenny_Elkington
Adobe Employee
Adobe Employee
April 26, 2016

periods indicate classes in css selectors, you want #videoSection.