";
The next version (1.2.0) positions the play-button with pure CSS instead of the inline-style-through-JavaScript-hackery and will automatically adapt that posistion to the changing player size. But coincidentally (or not), the main feature of that nearby update will be responsiveness. You can see the new approach for LYTE-player on this stand-alone page. If you can, it might be worth waiting for a first beta-release (which I hope to push one of these days) instead of making that might (but probably will not) break with the WP YouTube Lyte update?
Bien à toi,
frank
For the black background you’ll have to go into /wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php, search for
.lP {background-color:#fff;margin:5px ".$pos.";}
and replace it with
.lP {background-color:#000;margin:5px ".$pos.";}
Concerning the new version of WP YouTube Lyte; you can find up-to-date info on what it does and where to download here. Looking forward to your feedback!
Yes , that was it, thanks again for the hints.
Looking forward to test the new version of the plugin
Micky
Hallo Frank,
Thank you for the quick reply … and for the testing :-))
Finally I modified the pngs of the play btn and the controls and set their width, height and margin params to 0 in the line of code you showed in your answer. That was it .. now the fake play btn scales with the rest.
Last thing I couldn’t find out is how to change the background of the “lyte hidef lP” class to black …I didn’t find the spot in the script. No CSS would work. … with a black bg the “video” wouldn’t “flash white” before the player is loaded.
I would like to try out your responsive version when it’s ready – let me know . Ill check back to test it.
Thank you
Micky