aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plyr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r--src/js/plyr.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index e625504e..d9949722 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -1389,6 +1389,11 @@
// Replace all id references with random numbers
html = _replaceAll(html, "{id}", Math.floor(Math.random() * 10000));
+ // Replace Title, if it exists
+ if (config.title){
+ html = _replaceAll(html, '{title}', config.title);
+ }
+
// Controls container
var target;