When using the player to display a slideshow, the images are not always centred. This is due to a simple bug in react-web-media-player/lib/components/Medias/Channels/Slideshow.js L173:
The lack of parentheses around the height - imgHeight & imgWidth * width calculations results in erroneous calculations for the leftMargin CSS property.
When using the player to display a slideshow, the images are not always centred. This is due to a simple bug in
react-web-media-player/lib/components/Medias/Channels/Slideshow.js
L173:The lack of parentheses around the
height - imgHeight
&imgWidth * width
calculations results in erroneous calculations for theleftMargin
CSS property.Fixes #12