-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstaging-embed-v4.html
More file actions
30 lines (25 loc) · 871 Bytes
/
staging-embed-v4.html
File metadata and controls
30 lines (25 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html>
<head>
<script type="text/javascript" async data-playbackurl="play-staging-wasp.vidyard.com"
src="https://play-staging-wasp.vidyard.com/embed/v4.js"></script>
<script type="text/javascript">
function registerHandlers (vidyardEmbed) {
vidyardEmbed.api.addReadyListener((_, player) => {
//player.play();
player.on('play', () => {
console.log('playing');
//player.seek(20);
});
//setTimeout(() => player.seek(20), 10000);
});
}
window.vidyardEmbed
? registerHandlers(window.vidyardEmbed)
: (window.onVidyardAPI = registerHandlers);
</script>
</head>
<body>
<img class="vidyard-player-embed" src="https://play-staging-wasp.vidyard.com/QfN9JdaEpunTA7VdrAd2mK.jpg"
data-uuid="QfN9JdaEpunTA7VdrAd2mK" data-v="4" data-type="inline" />
</body>
</html>