Sonya* Posted April 10, 2020 Posted April 10, 2020 Hi, I am trying to define the width of YouTube player added via the field YouTube. I have added both parameters: width and height. But they are ignored and the video is displayed in the full width: All other parameters work. Only width and height is ignored. In the source code of the page I see: <div class="ipsEmbeddedVideo" contenteditable="false"><div><iframe id="ytplayer" type="text/html" width="640" height="360" src="https://www.youtube.com/embed/VIDEO_ID?width=640&height=360&hl=de&modestbranding=1&rel=0"></iframe></div></div> Does somebody knows why parameters are ignored? Thank you!
Sonya* Posted April 10, 2020 Author Posted April 10, 2020 I have figured it out. The width and height seems to be overwritten by global JS. Changing global setting: "solves" the issue. At the same time you cannot have different width in posts and YouTube fields in Pages. OptimusBain 1
Recommended Posts