Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Shared links shows in different sizes

5 Posts
2 Users
1 Reactions
1,673 Views
Posts: 3
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@eli-liu)
Member
Joined: 5 years ago
[#6625]

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: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 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: 5 years ago

Member
Posts: 3
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 8 years ago

Illustrious Member
Posts: 6645
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 5 years ago

Member
Posts: 3
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Everything worked out. Thanks so much for the help. 


Share:
Scroll to top