Problem with <video> and <!-- pagebreak --> !!!
Posted: Tue Nov 08, 2022 10:58 am
Hello everyone,
I am facing a problem to which I cannot find a solution.
Currently in my site laminutespirituelle.fr, I integrate at the top of each article a video from my Telegram channel. Each page of the site includes seven articles and the source code shows me that each integrated Telegram video loads its linked script, which slows down the loading a lot, but it works.
To decrease the loading time I want to put the videos directly to my host and call them with the video tag.
So there would be the video in mp4 and webm, called by a video tag, followed by text, a pagebreak otherwise the plugins a2a share and snicker are not displayed.
In this case depending on the browser the video displays "No video with the format or type Mime was found" or it does not work. But if I click on "Read more" and the whole page of the article is displayed, the video is displayed perfectly and works.
In both cases the source code shows me well the <video>......</video> part which is therefore loaded.
As it stands I have only 2 solutions, I delete all pagebreak and my hosted videos will work but I would have no more possible shares or comments or I keep the slow version with Telegram videos embedded.
To see the problem live:
- current version with Telegram videos: https://laminutespirituelle.fr/theme/fi ... e-la-terre
- then Next and 2nd page : https://laminutespirituelle.fr/theme/fi ... rre?page=2 with the article "essai" in new version and no video
- then click on Read more for full page and it works...
Thank you to the specialists of Bludit to make me benefit from their lights !
I am facing a problem to which I cannot find a solution.
Currently in my site laminutespirituelle.fr, I integrate at the top of each article a video from my Telegram channel. Each page of the site includes seven articles and the source code shows me that each integrated Telegram video loads its linked script, which slows down the loading a lot, but it works.
To decrease the loading time I want to put the videos directly to my host and call them with the video tag.
So there would be the video in mp4 and webm, called by a video tag, followed by text, a pagebreak otherwise the plugins a2a share and snicker are not displayed.
In this case depending on the browser the video displays "No video with the format or type Mime was found" or it does not work. But if I click on "Read more" and the whole page of the article is displayed, the video is displayed perfectly and works.
In both cases the source code shows me well the <video>......</video> part which is therefore loaded.
As it stands I have only 2 solutions, I delete all pagebreak and my hosted videos will work but I would have no more possible shares or comments or I keep the slow version with Telegram videos embedded.
To see the problem live:
- current version with Telegram videos: https://laminutespirituelle.fr/theme/fi ... e-la-terre
- then Next and 2nd page : https://laminutespirituelle.fr/theme/fi ... rre?page=2 with the article "essai" in new version and no video
- then click on Read more for full page and it works...
Thank you to the specialists of Bludit to make me benefit from their lights !