# Advanced Settings
# Enable or disable AirPlay capabilities
It's possible to enable or disable Airplay via data-bt-enable-airplay
, which accepts a boolean true or false.
TIP
The player will detect if your WiFi network supports AirPlay automatically and will add the functionality when it is available.
# Enable or disable fullscreen capabilities
It's possible to enable or disable fullscreen via data-bt-allow-fullscreen
or the allowFullscreen
setting, which accepts a boolean true or false.
# Show or hide annotations/comments
It's possible to show or hide annotations / comments data-bt-show-comments
or the showComments
setting, which accepts a boolean true or false.
# Set Subscribe Options
It's possible to customize the subscribe options for a player. Subscribe options are defined in a JSON array with the following properties:
Property | Description |
---|---|
url | URL to subscribe action |
imgSrc | URL to image |
alt | alternate text for image |
id | unique identifier |
For example, here we define
[
{
"id": "47ab752b-f6f9-4a87-8f35-4a652c107e36",
"alt": "Listen on Apple Podcasts",
"imgSrc": "https://player.backtracks.fm/resources/subscription-badges/Listen_on_Apple_Podcasts_sRGB_US.svg",
"url": "https://itunes.apple.com/us/podcast/song-exploder/id788236947?at=10l9zE"
},
{
"id": "47bb84bb-fbf9-1a87-8fa5-4a652c1b7e37",
"alt": "Listen on Google Play Music",
"imgSrc": "https://player.backtracks.fm/resources/subscription-badges/google-play-badge.png",
"url": "https://play.google.com/music/m/Iupotadf66zvparh6bas5rhafma?t=Song_Exploder"
},
{
"id": "47bb84ba-faf9-1a87-8aa5-4a6a2c1b7e37",
"alt": "Listen on Stitcher",
"imgSrc": "https://player.backtracks.fm/resources/subscription-badges/stitcher-badge.png",
"url": "http://www.stitcher.com/podcast/song-exploder"
}
]