Embedded videos from Vimeo – error
-
On 28 of my webpages all manually embedded Vimeo videos now show the message: “Sorry. We’re having a little trouble.
I found out that it is because WordPress strips some of the HTML-code.I have tried to update one of the pages where the videos showed the same error – and they work (for now). I found the editable embed code in Vimeo for each video and changed it in the source code on my webpage. It is time consuming.
Here is an example of a code – when it did not work anymore:
<iframe width=”247″ height=”440″ src=”https://player.vimeo.com/video/496580465″ frameborder=”0″ allow=”autoplay; fullscreen” allowfullscreen=”allowfullscreen”></iframe>
and the code I replaced it with:
<iframe src=”https://player.vimeo.com/video/496580465?h=f2c677a4b3&badge=0&autopause=0&player_id=0&app_id=58479″ width=”247″ height=”440″ frameborder=”0″ allow=”autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share” referrerpolicy=”strict-origin-when-cross-origin” title=”Mobilisering”></iframe>I found some explanations online saying that WordPress strips some code, and that I maybe should not put in a embed code manually, but just copy the URL of the video into the text editor. I use the classic editor.
When I do this I am not able to edit the size of the videos – and I think they get very big when just copying video URLs in to the text editor. You can find two examples on this pagewhere I fixed the codes manually AND tried to just copy the URLs of a vertical and a horizontal video.
I think that the horizontal video is way too big.
In this section you can see a vertical video – in the smaller version and in the big version:
and a horizontal video in the smaller version and the big version:Should I continue editing the 28 webpages manually? Or will the embed code get stripped again so that I have to start all over?
For now I looks as if my Vimeo videos on some of my many other pages still work. But maybe their embed codes will also get stripped in the future?What should I do?
Should I just copy video URL’s directly in to my text editor – and accept larger videos? Or is there somehow another way around this so that my embedded videos can keep the size I like?
Let me know if you need more information about my WordPress site.
Thank you in advance.
[ Many redundant unnecessary links removed again ]
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.