Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 10, 20205 yr 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!
April 10, 20205 yr Author 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.
Archived
This topic is now archived and is closed to further replies.