Notifications
Clear all

[Solved] Embed objects have too much space below the object

9 Posts
2 Users
1 Reactions
791 Views
Posts: 18
Topic starter
(@masteraeon)
Eminent Member
Joined: 7 years ago

 

Using the Embed plugin, the inserted objects have a lot of excess space below the object. Attached is a screenshot of the problem. How can we solve this?

ScreenshotEmbedSpace
8 Replies
Astghik
Posts: 6152
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

@masteraeon,

Please leave the URL where we can see the issue. 

1 Reply
(@masteraeon)
Joined: 7 years ago

Eminent Member
Posts: 18
Posts: 18
Topic starter
(@masteraeon)
Eminent Member
Joined: 7 years ago

I also see that the video is shown without the extra space on a iPhone with Chrome, but here the lower part of the video gets cropped from the red progressline and below. Can that be fixed too?

2 Replies
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6152

@masteraeon,

Please try the CSS code below: 

#wpd-threads .wpdiscuz-embed-wrapper .video-container {
     padding-bottom: 0px;
     height: auto;
     margin: 0;
     position: static;
}
#wpd-threads .wpdiscuz-embed-wrapper .video-container iframe{
     position: static;
}

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again.

Also, please try on incognito mode if you're checking on mobile devices. Because mobile browsers have a hard cache, you'll not be able to see the change immediately.

(@masteraeon)
Joined: 7 years ago

Eminent Member
Posts: 18

@astgh Wow! A solution for both problems and really fast too! Thank you very much. I am really impressed.

Posts: 18
Topic starter
(@masteraeon)
Eminent Member
Joined: 7 years ago

I found another problem with YouTube embedding:

https://www.nyhetsspeilet.no/2022/11/ubeleilige-fakta-om-elektriske-biler/#comment-200694

The 3 videos in the above comment shows up as a dead url. I edited another comment with the same problem and just put the youtube url on a separate line and not in line with the text and that helped.

ScreenshotEmbedError

 

1 Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6152

@masteraeon,

Please watch this video:  https://www.screencast.com/t/fkO68E459a6B

It seems everything is working fine. 

Posts: 18
Topic starter
(@masteraeon)
Eminent Member
Joined: 7 years ago

Yes. It's fine today so all is good. Thanks!

Share:
Scroll to top