excerpt is showing codes

Posted in: Newspaper
Post count: 32

Hi,

I have videos embedded in my posts with iframe method, I noticed that the excerpt is showing my video code as shown in this picture excerpt showing code, is there a way to hide that?

my video embed code is:
<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style><div class=’embed-container’>
<iframe frameborder=”0″ src=”https://……………&#8230;..” allowFullScreen=”true”></iframe>
</div>

Post count: 18283

Hello !

Please make sure that you insert the url of your video from the media library as you can see here: https://www.screencast.com/t/MqL1P42vVWFf

Thank you !

Post count: 32

That’s not the case, the video is not from my media library, it’s from other 3rd party video website, that’s why there’s iframe code involved, as you can see here: https://www.screencast.com/t/rbrIysH0t

Those codes should not show up in the excerpt.

Post count: 18283

Hello !

Yes, even with the code from the 3rd party website you can implement it through the media library URL option as you can see here: https://www.screencast.com/t/cPI1x4kZg

Thank you !

Post count: 32

There’s no url, I’m embedding a video, the url is a website, not a video, the video embeded code is a iframe code, just like when you embed youtube videos, the code looks like this:

<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/elIFxz3l7iY&#8221; frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe>

Post count: 32

I mean, with your mentioned url method, if I just put in the source url, it shows error like “no video with supported format and mime type found” or “sorry, this content could not be embeded”, shown in this screenshot https://www.screencast.com/t/Rge59OuqhN

I know there’s youtube module, but I’m not embedding youtube videos, I’m embedding a video from here https://v.qq.com/x/page/a0793n9vm78.html

The only way I can find is to insert this code in the classic editor
<iframe frameborder=”0″ src=”https://v.qq.com/txp/iframe/player.html?vid=a0793n9vm78&#8243; allowFullScreen=”true”></iframe>

Thanks

Post count: 18283

Hello !

Yes, you can use the iFrame in order to have it work. That would be a more recommeded work.

This way should work.

Thank you !

Post count: 32

OMG, dude, please read our thread question, this is very frustrating, it’s been back and forth a week, my question is about coding showing in the excerpt. As shown in this picture the left bottom cornor https://www.screencast.com/t/rbrIysH0t
Is there ways to solve this?

Post count: 18283

Hello !

Please contact us via email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.

Thank you !

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.