Open renzms opened 7 years ago
Note: the KB article at s2Member regarding JW Player v7 has been updated to include instructions and examples of how to use a custom skin in JW Player v7 via the [s2Stream /]
shortcode.
Instead of:
player_skin="/jwplayer/skins/vapor.css"
Use this in JW Player v7:
player_option_blocks="skin:{name:'vapor'}"
EXPLANATION OF THE ISSUE
In the current version of JW Player, v7, the way skins are called and customised has now changed. Please see this article
The documentation here, is now outdated as
player_skin="/jwplayer/my-skin.xml"
no longer works.STEPS TO REPRODUCE THE ISSUE
Tested Using:
WordPress Version: 4.7.2 Current WordPress Theme: Twenty Seventeen version 1.1 Active Plugins: Version 170221 + s2Member Pro v170221 PHP Version: 7.0.10 MySQL Version: 10.0.29-MariaDB-0ubuntu0.16.04.1 Apache Version: Apache/2.4.10 (Debian) JWPlayer 7
Posted shortcode as normal and added
player_skin="/jwplayer/skins/vapor.css"
to try and change the skin. The player skin does not change.BEHAVIOR THAT I EXPECTED
Skin should change as noted in https://support.jwplayer.com/customer/portal/articles/1406968-using-jw-player-skins
Example using Vapor skin
BEHAVIOR THAT I OBSERVED
Code used:
Skin remains as the JW Player 7 default skin.
Referencing Internal Ticket