Hello!
I have a problem with the videos on my test website.
I am not using YouTube but videos hosted on my server. On desktop – everything seems to be fine. On mobile – there is a problem with displaying the video at first (when you click on the video it loads up perfectly).
Is it possible to help me on this issue because I am making a relatively large installation with over 150k posts and around 10k of them have videos inside.
http://wp.ecomservice.bg/?p=682 <– this is a sample URL where you can see the issue.
Best regards!
Hello,
I think that this post is a draft because I can not access it https://i.imgur.com/gIuWJ4R.png
Please provide a video with your issue.
A solution for sending a screenshot/video is this:
Download, capture, and send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link; paste it here.
Thank you!
I uploaded around 50k posts (99.9% of them don’t have videos) via WP All Import.
For the ones that have a video I add this code before the content in order to show the video:
<div class="wpb_video_wrapper">
<video controls="">
<source src="https://eurocom.bg/show_videos/news/',max(video_directory),'/',max(video),'">
Your browser does not support the video tag.
</video>
</div></div>
Basically I add my video url to the post. This is not an ideal way to import them I believe but that is the best idea I came up with. On desktop it works good – once you enter the post it shows a thumbnail of the video. On mobile however it just shows the play button. If I click the play button it works well and once I see the video – the thumbnail remains there.
https://ibb.co/MMVznxS
https://ibb.co/3cr9ZZH
Can you advise me on how to properly import posts with videos hosted on my server?
Are you sure you are trying to access it with HTTP, not HTTPS? Try this link http://wp.ecomservice.bg
Hi,
Can you please provide a video of how you do the posts? You add self-hosted videos in the post content, but for them to work, you need to set the featured video here, and it must be of the video type https://i.imgur.com/qe6xLAV.png -> https://forum.tagdiv.com/featured-image-or-video-7/. For those, you need to add a featured image because it is not generated automatically.
Thank you!
https://www.loom.com/share/28bc696e620e408ca5ef380a8ffb3d84
I recorded this one, I hope you can get an understanding of what I am doing.
I believe you didn’t watch the video and don’t understand my question. Anyways, I will try to explain it again.
I upload the video and upload a thumbnail, so the thumbnail is not an issue, all my thumbnails are working perfectly.
If you open this link https://wp.ecomservice.bg/vox-populi/test/ from a mobile device (NOT inspection tool and simulate a mobile device) you will see the play button in the page without any video behind it, once you click it it will appear and stay there.
https://ibb.co/phnG6Gk here is an uploaded image so that you can understand what I mean.
It works well on desktop – it fetches the video but on mobile it doesn’t.
So thats the only issue I have currently.