Notifications
Clear all

[Solved] Shared links shows in different sizes

5 Posts
2 Users
1 Likes
715 Views
Posts: 3
Customer
Topic starter
(@eli-liu)
Member
Joined: 4 years ago

Achieved functions showed in the Description, basically. When I post Fb links, the URL transformed into an image, but it was too large, and some videos are shown too small. How can I set the auto fit or resize the linked media? Thanks.

example: https://forums.creality3dofficial.com/community/news/holiday-notice/#post-35

4 Replies
Astghik
Posts: 5912
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

@eli-liu,

It seems there is some other additional embeds plugin, that messed the CSS codes. 

You can use the CSS code below to solve the issue with Facebook embedding:

.fb-post.fb_iframe_widget {
width: 100% !important;
max-width: 100% !important;
}

.fb-post.fb_iframe_widget span {
width: 100% !important;
max-width: 100% !important;
}

The CSS codes should be added in the "Custom CSS code" textarea, located in the Dashboard > Forums > Settings > Styles Tab.  

Please don't forget to delete all caches and press Ctrl+F5 (twice) on the frontend before checking to reload the updated CSS file.  

3 Replies
Customer
(@eli-liu)
Joined: 4 years ago

Member
Posts: 3

@astghik Nice, the FB post problem is now successfully solved. A further question, for other links like a youtube URL, it displays in a Compressed way. https://forums.creality3dofficial.com/community/ender-3-series/ender-3-v2-unboxing-installation/

What should I do to solve it or is there a universal method for these problems? I did not find any other embeds plugins. ( I installed some for testing, then I deleted them.)

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5912

@eli-liu,

Please navigate to Dashboard > Forums > Settings > Addons > Embeds admin page, find the "Embed video player sizes" option, and set the value of the height filed. Set it for example 350px. 

Customer
(@eli-liu)
Joined: 4 years ago

Member
Posts: 3

Everything worked out. Thanks so much for the help. 

Share:
Scroll to top