Centering and other effects through CSS
JW Player Plugin for WordPress
Currently the player won’t center or accept CSS styling because the embedding script strips away the DIV and rewrites it.
Getting the player to center on the parent DIV in a configurable per-shortcode manner would require a significant number of changes that are best left to the LongTail development team.
So here is a quick hack to enable centering globally for all players and any shortcode:
After the plugin is activated and the update sequence is completed, a jwplayer.js will be created at:
we will inject the code
at offset 40417 of jwplayer.js , so
*later I’ll add a ‘reflection’ effect and an Ambilight effect (requires additional ActionScript and CanvasJS hooks)
- The topic ‘[Plugin: JW Player Plugin for WordPress] Centering and other effects through CSS’ is closed to new replies.