Over in the Spring Photo Thread
http://www.largescalecentral.com/forums/topic/28157/-/view/post_id/365283
I ran into some issues with Youtube’s embed code. I moved the discussion over here to as not to hijack the photos.
The embed code I copied (~ replaces less/grtr than):
~div style="position:relative;height:0;padding-bottom:56.25%"iframe src=“https://www.youtube.com/embed/YrHeQJpCfRk?ecver=2” style=“position:absolute;width:100%;height:100%;left:0” width=“640” height=“360” frameborder=“0” allow=“autoplay; encrypted-media” allowfullscreen/iframe~
resulted in two strange events. 1 - the spacing in my post became about 4 lines per paragraph (I had to use ctl-return to get single spacing) and the video was twice as big. When I tried to edit the post, I was unable to make it display regularly so I deleted the video and re-posted it as a separate post. The 3 photos still don’t appear on my browser (Firefox, Win10.)
Joe Zullo cleaned up the posts by removing HTML.
Joe - maybe you could share what you removed so we can all discuss what happened? Where did the ‘messy code’ come from?
P.S. When I copied the embed code in as HTML, the video appeared - I didn’t need the “embed” option under ‘Insert/Edit video’, which suggests that HTML code in the text will work as html, not text.
When I deleted it to insert the actual code with the ~, it still spaced as if a video is there, and when I look at source code the embed still shows, not my version with the ~.
I looked at the page source and the “div” didn’t get deleted when I deleted the video:
div style=“position: relative; height: 0; padding-bottom: 56.25%;”