Open Anil-matcha opened 3 years ago
Hi, I can't see that you calling for either the chromecast script or css. Try add...
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/videojs-google-chromecast@0.1.8/dist/css/plugin.css">
<script src="https://cdn.jsdelivr.net/npm/videojs-google-chromecast@0.1.8/dist/videojs-google-chromecast.js"></script>
<script src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>
var options;
options = {
plugins: {
chromecast: {
metadata: {
title: 'title test',
subtitle: 'subtitle test'
}
},
}
};
var player = videojs('player', options);
Hi, I have used the plugin to enable chromecast on video.js 7.12.1 but the icon is not visible whereas I could see it in youtube. Can you help with this ?
Here is the link of video using the plugin https://dev.vadoo.tv/iframe_test?id=3twAi1sXKOGvHS9H4aWYySBgC9NOtuUz