-
AuthorPosts
-
February 16, 2015 at 11:22 am #396601
Hi
I’ve inserted a number of videos on a page using the “Video” media element.
Most videos are showing but on a few pages the video that should turn into a video player, just renders a link.All the videos are on Vimeo in this case (I haven’t tested youtube).
Screenshot of two videos inserted using the same method, but one showing as a link:
https://www.evernote.com/shard/s32/sh/b46248e3-0367-4b10-88ed-91ce26c5bc87/4ab6d0d160b0ecdaaf694f508d292084Screenshot of the rendered html
https://www.evernote.com/shard/s32/sh/25abbf0a-ccf5-48b1-a8f9-2b44b7e17697/dfa3edd423857c8886e92560b30c9797Can you tell me what’s wrong?!
(they are inserted the exact same way: https://www.evernote.com/shard/s32/sh/e177ddcb-da91-439d-993d-4d1b56d4cf7d/03e63504ce72f71c306d088fd8742a7e)Thanks…
February 16, 2015 at 7:36 pm #396976Hi rap!
This has happened to a couple of customers but I haven’t been able to pinpoint what causes it though. I’m guessing it’s some kind of setting on the video. The video is not set to private is it?
Usually this happens with youtube but in your screenshot I noticed the URL your using is vimeo.com/albums, etc etc. What happens when you link directly to the video? i.e. vimeo.com/8373728
Regards,
ElliottFebruary 17, 2015 at 4:36 am #397224I’ve tried both types of URLs. That doesn’t make any change.
However you are a bit right about the settings. Originally the privacy settings were wrong on this one video, however after I changed it, it still didn’t work.
So is there some kind of “caching mechanism”? Originally I didn’t think that WordPress did anything other than just wrap the url in a player, but it must somehow communicate with Vimeo if it will display a player or a link depending on the settings.
If WordPress indeed does communicate one way or another with Vimeo (and Youtube) it would make sense to somehow cache these settings.
Do you know if something like this is happening? The privacy settings should be correct now, however I’m still only seeing the link for one (well actually two) of the videos (out of 28).
February 17, 2015 at 6:21 pm #397690Hi!
I’ll flag this for the rest of our team to see if they have any idea on what it could be.
Cheers!
Elliott- This reply was modified 9 years, 10 months ago by Elliott.
February 26, 2015 at 6:44 am #402469Hello, having similar problem here with this video: https://vimeo.com/118247306
Exact same thing as Rap’s problem – the video was set as private before. Would be great if we can get it sorted soon (website to launch in a week! and didn’t seem to have this problem before.)
Thank you.
Uchi
February 26, 2015 at 3:54 pm #402737Hi,
Can you give us a link to your website? Admin access would be useful as well. You can post login details here as a private reply. We would like to have a deeper look into this problem.
If it’s really a caching problem: Did you already paused caching in your caching plugins and afterwards cleared browser cache? Try to also switch off all plugins, to make sure none is causing any conflict. Are you using the newest version of WordPress and theme?
Cheers!
AndyFebruary 26, 2015 at 4:42 pm #402761This reply has been marked as private.February 26, 2015 at 5:05 pm #402788Hey!
login details are not working for me. Please check. But if the problem is solved for you, there is no reason for login in anymore, right?
Cheers!
AndyApril 5, 2015 at 1:37 pm #423622Ok I figured it out.
As I thought it was a caching issue. WordPress caches the video player on the first hit, so if the access settings for the video was wrong, then it won’t display the video player even though you fix the video access settings afterwards.
It can be fixed by going directly to the database (if you’re not sure what you’re doing, please remember to backup first!!!!!). I use phpMyAdmin for this.
1) Find the table named “wp_postmeta” (in my case I have prefixed my tables for security measures, so my table name is actually a bit longer)
2) click on “SQL”
3) Insert the following select statement:
SELECT * FROM wp_postmeta WHERE meta_key like ‘%_oembed%’This will bring up all the cached embedded players. The meta_value field contains the player, so it should be quite easy to find the video that is not working and simply deleting the row (don’t worry, WordPress will generate a new entry the next time you visit the page and your player will be inserted correctly!).
I have a lot of videos in my site (hosted on Vimeo) so used the following SQL to find the exact row that messed up:
SELECT * FROM wp_yasd_postmeta WHERE meta_key like ‘%_oembed%’ and meta_value like ‘%6769%’(the number 6769 is part of the vimeo video ID for the video messing up, you should of course insert part of the url/ID for the video that is messing up in your case)
Hope it helps..
- This reply was modified 9 years, 8 months ago by rap.
April 5, 2015 at 6:17 pm #423684Hey!
wow, glad you figured it out and thank you a lot for sharing your wisdom with us :)
Let us know when you need some more help with the theme. We are happy to assist you.
Regards,
AndyApril 6, 2015 at 11:22 am #423868Hello,
I have the same problem rap did have. I want to place video in to homepage slider but it shows just black full screen picture.
I have tried to find wp_postmeta and solve it according to rap’s instructions. I got this error message:Error
SQL query: DocumentationSELECT * FROM wp_postmeta WHERE meta_key like ‘%_oembed%’
LIMIT 0, 30
MySQL said: Documentation#1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘%_oembed%’
LIMIT 0, 30’ at line 1Thank you for advice
April 6, 2015 at 6:16 pm #424089Hey jankund!
I think this link is for you to find out more about the reason for this error: http://www.inmotionhosting.com/support/website/database-troubleshooting/error-1064
Best regards,
AndyApril 7, 2015 at 8:11 pm #424914It could be due to the quotes around the %_oembed%.
It has to be normal single quotes.
April 8, 2015 at 3:04 am #425034April 9, 2015 at 9:26 pm #426210Hello, now I got this:
Error
SQL query: Documentation
SELECT * FROM wp_postmeta WHERE meta_key like (_oembed)
LIMIT 0, 30
MySQL said: Documentation#1054 – Unknown column ‘_oembed’ in ‘where clause’
Jan:-)April 12, 2015 at 10:41 am #427120You’re using parentheses around the _oembed, it should still be single quotes :)
But if you’re not sure what you’re doing, it’s not really a good idea to mess around with the SQL. At least I hope you’ve remembered to take a backup.
April 12, 2015 at 8:26 pm #427186I will let it be. I did backup. You are right I am not sure… Thx.
-
AuthorPosts
- The topic ‘Video player not showing, only showing link’ is closed to new replies.