addPlayButton not centered on thumbnail

Page: 1

Author Post
Member
Registered: Mar 2017
Posts: 2
I am trying to use both addPlayButton and addVideoThumbnail and the play button overlay is not appearing in the middle of the thumbnail image. I have a jpg file in the folder with with mp4 and they have the same name. Floatbox is pulling the jpg as the thumbnail as expected, but the overlay appeared on the bottom center edge. I thought maybe I needed to update my Floatbox so I did, and now the play button is in the lower left of my thumbnail image.

http://www.eplanetarium.com/addplaybutton_error.jpg

I was hoping to get this built in feature to work, because Floatbox was always flashing the image I previously used as my thumbnail after it opened the Floatbox window for the video but before it started the video playing.
Administrator
Registered: Aug 2008
Posts: 3381
The misaligned play button (and black bars on youtube thumbnail images) are a confirmed bug in version 7.4.0 that will be rectified in the next release.

Fortunately, there's an easy fix that can be applied to 7.4.0. Add the following line to floatbox.css:
.fbVid { display: inline-block !important; }
Member
Registered: Mar 2017
Posts: 2
awesome! thank you.

Page: 1