add title to chromecast
This commit is contained in:
@ -28,6 +28,10 @@
|
||||
options.techOrder = ["chromecast", "html5"];
|
||||
options.plugins = {};
|
||||
options.plugins.chromecast = {};
|
||||
player.plugins.chromecast.requestTitleFn = (src) => {
|
||||
return "{{ title }}";
|
||||
}
|
||||
|
||||
let player = videojs(video, options);
|
||||
let source = {};
|
||||
source.type = ctype;
|
||||
|
Reference in New Issue
Block a user