We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
前端代码:
const initEZUIKitPlayer = (videoId: string, url: string) => { setTimeout(() => { const container = document.getElementById(player-${videoId}); if (!container) { console.warn(Container for video ${videoId} not found`); return; }
const initEZUIKitPlayer = (videoId: string, url: string) => { setTimeout(() => { const container = document.getElementById(
); if (!container) { console.warn(
if (players.current[videoId]) { players.current[videoId].destroy(); } players.current[videoId] = new EZUIKit.EZUIKitPlayer({ id: `player-${videoId}`, url: url, accessToken: accessToken, template: 'pcLive', // 设置为适用于PC端的直播模式 width: 350, height: 300, language: 'en', env: { domain: 'https://isgpopen.ezvizlife.com', // 如果是私有化部署,可以配置其他域名 }, }); }, 100);
};`
组件会调用下面的接口: Request URL: https://isgpopen.ezvizlife.com/api/service/appKey/get?checkToken=at.47ouayu1ayg0g2ax6c6ulm7u2nxsh4dv-2obnos25nz-1l46afd-4upbfwso2&sn=AZ2284919&cno=1 Request Method: GET Status Code: 404 Not Found
我不明白是我哪里写错了吗,可以帮我看看吗
The text was updated successfully, but these errors were encountered:
接口可能还没同步到海外。 周一我问一下服务端同学。应该不影响播放吧
Sorry, something went wrong.
No branches or pull requests
前端代码:
const initEZUIKitPlayer = (videoId: string, url: string) => { setTimeout(() => { const container = document.getElementById(
player-${videoId}); if (!container) { console.warn(
Container for video ${videoId} not found`);return;
}
};`
组件会调用下面的接口:
Request URL:
https://isgpopen.ezvizlife.com/api/service/appKey/get?checkToken=at.47ouayu1ayg0g2ax6c6ulm7u2nxsh4dv-2obnos25nz-1l46afd-4upbfwso2&sn=AZ2284919&cno=1
Request Method:
GET
Status Code:
404 Not Found
我不明白是我哪里写错了吗,可以帮我看看吗
The text was updated successfully, but these errors were encountered: