Problem with videos on mobile

Posted in: Newspaper
Post count: 195

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!

Post count: 27744

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!

Post count: 195
Post count: 27744

Hello,

Please provide a video of how it looks for you the video on mobile to be able to understand and help you.

Thank you!

Post count: 195

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.

it seems to look good on the homepage it shows that there is a video inside and it has grabbed the thumbnail I imported

when I enter the post it has no thumbnail, when I click play - the video is working

https://ibb.co/MMVznxS
https://ibb.co/3cr9ZZH

Can you advise me on how to properly import posts with videos hosted on my server?

  • This reply was modified 2 years by petar777.
  • This reply was modified 2 years by petar777.
  • This reply was modified 2 years by petar777.
Post count: 27744

Hi,

Can you please provide the link to your website?

Thank you!

Post count: 195

http://wp.ecomservice.bg/

Note – it is HTTP currently

Post count: 27744

Hi,

The website is not working -> https://i.imgur.com/ZWme3Cj.png

Thank you!

Post count: 195

Can you give me your IP to see why you can’t see it? I’ll ask my host.

Post count: 27744

Hi,

This is my ip address 192.168.0.32

Thank you!

Post count: 195

Your external one if possible.

Post count: 27744

5.2.168.55

Post count: 195

Are you sure you are trying to access it with HTTP, not HTTPS? Try this link http://wp.ecomservice.bg

Post count: 27744

Hi,

Do you have blocked access for a country? I have tried it on different browsers, and it still is not working.

Thank you!

Post count: 195

Thats weird… Can you check if you can access eurocom.bg and zdravital.bg (these our current websites without the theme)

  • This reply was modified 2 years by petar777.
  • This reply was modified 2 years by petar777.
  • This reply was modified 2 years by petar777.
  • This reply was modified 2 years by petar777.
Post count: 27744

Hello,

Those websites are working. Are you sure that is not something like localhost?

Thank you!

Post count: 195

I installed SSL can you check finally? With https? If it works see the issues we mentioned before.

Post count: 27744

Hi,

The site works, but I didn’t find a post with a video.

Thank you!

Post count: 195

Check it again now, I uploaded 100 videos (latest posts)

Post count: 27744

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!

Post count: 195

https://www.loom.com/share/28bc696e620e408ca5ef380a8ffb3d84

I recorded this one, I hope you can get an understanding of what I am doing.

Post count: 195

PS: The problem is that I upload videos from my server, they are not hosted in YouTube, Vimeo or whatsoever. Is it possible for your support to help me on this and find a way to make it work?

Post count: 195

I see that on desktop it fetches the video thumbnail whereas on mobile it has no thumbnail.

Post count: 27744

Hi,

If you have self-hosted videos, then a thumbnail or featured image won’t be generated automatically for those posts; instead, you’ll need to upload one for each post.

Thank you!

Post count: 195

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.

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