We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d11bc5b + db63f55 commit b68cf2aCopy full SHA for b68cf2a
1 file changed
public/youtube_meta.html
@@ -89,7 +89,7 @@
89
const metadata = {
90
title: videoData.title,
91
isLive: videoData.isLive,
92
- duration: player.getDuration(),
+ duration: Math.round(player.getDuration()),
93
};
94
95
console.log("METADATA:" + JSON.stringify(metadata));
0 commit comments