Tagged: video slider, youtube video
-
AuthorPosts
-
April 6, 2015 at 2:06 pm #423922
Hello, I am trying to create video slider for my homepage. I put three youtube videos to Fullwidth Easy Slider and checked Disable Autoplay. The first slide is always black fullscreen image other two slides always show preview images but after click on them video doesn’t load and doesn’t play. I traied to change order of slides and the first one is always black and other two just show preview images and after click video doesn’t play. My browser is Safari. System is OS X Yosemite 10.10.2
I work locally on my computer.I found one solution I traied it and got error message:
Ok 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)
My 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 10:09 pm #424283Hi Jan!
Do you still have this issue?
Regards,
JosueApril 7, 2015 at 8:17 am #424500Hi Josue,
I still have :-) I traied to uninstall WordPress and to install it again in different language version than before and it still do the same. I also traied the same issue on Windows computer and it works fine there. So maybe its OS X Yosemite issue? I would like to have my WordPress on my MacBook because its mobile..
Regards,
JanApril 7, 2015 at 9:05 am #424524Hi!
Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details here as a private reply.
Best regards,
RikardApril 7, 2015 at 11:06 am #424567This reply has been marked as private.April 7, 2015 at 1:20 pm #424632Hey!
You can upload your screenshots on imgur.com or Dropbox public folder and post the links here. If you need email address to create a new user, please use (Email address hidden if logged out) but please post login credentials here privately so any available moderator can look into it :)
Best regards,
YigitApril 7, 2015 at 1:35 pm #424645Hello screenshots I did: http://imgur.com/0d5Lxh8 and http://imgur.com/4PSrBqW
The first video slide is always black other slides shows preview images and doesn’t play because of that layer over it.April 8, 2015 at 1:00 pm #425224This reply has been marked as private.April 9, 2015 at 2:41 pm #425961Hello guys, I sent you admin login yesterday :-) Any advices? Solutions? Thank you, Jan
April 9, 2015 at 11:12 pm #426247Hi!
I checked that page on my MacBook (Safari 8 / 10.10.2) and the videos are playing as expected – http://a.pomf.se/nzbzuf.png
Have you checked it on another Mac?
Regards,
JosueApril 11, 2015 at 9:00 pm #427071Hello, I tested it also on another Mac with the same result. There is layer covering most of the video just small bottom part of video is uncovered. When you click bottom part yes it start to play but only when you click small uncovered part. This image explain it: http://imgur.com/JhV4eHt
And off course the first slide is always black and nothing is visible.
Regards,
Jan :-)April 12, 2015 at 10:28 pm #427210Hey!
Try adding this code to the Quick CSS:
.av-click-overlay{ pointer-events: none; }
Cheers!
JosueApril 13, 2015 at 8:19 pm #427768That css code works thanks:-). I can now play my videos. But there is still problem with the first slide of the slider. It`s always black. I can also play my first video in the slider now but without any picture only sound is possible to hear.
And one more question, is there any way how to add custom hight quality thumbnail images to my videos please?
Regards,
JanApril 18, 2015 at 3:56 pm #430717Hey!
I have found out that it is about youtube videos. Vimeo videos and self hosted videos work fine now. I used your css code.
.av-click-overlay{
pointer-events: none;
}
Thank you one more for that.Youtube video is not visible as the first slide. And also youtube video doesn’t play automatically and disable autoplay is not checked. Also is not possible to pause it.
Cheers!
JanApril 20, 2015 at 11:55 pm #431669Hey!
I use Mac as well and all the video slides work fine for me on your homepage. I can pause and play (also the first video slide) normally. I can’t see any issue. Could you fix it?
The video does not play automatically because autoplay is deactivated:
I unchecked the option for your first video slide, so now this video slide does play automatically.
Regards,
Andy- This reply was modified 9 years, 7 months ago by Andy.
-
AuthorPosts
- You must be logged in to reply to this topic.