【发布时间】:2020-12-08 13:41:25
【问题描述】:
我正在使用下面提到的此代码实现 opentok 注释并收到此错误
未捕获的错误:OpenTok 注释小部件需要 OpenTok 解决方案
toolbar = new OTSolution.Annotations.Toolbar({
session: session,
container: document.getElementById('streams'),
// colors: palette,
items: [ // Menu item configuration
{
id: 'OT_pen',
title: 'Pen',
icon: 'image/draw39.png',
selectedIcon: 'image/draw39-gray.png'
},
]
});
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/opentok-annotation@2.0.59/dist/opentok-annotation.min.js">
</script>
【问题讨论】:
标签: javascript annotations opentok