no-framework-video-player
Version:
A no framework video player.you can use it as long as your program is in javascript environment
35 lines (32 loc) • 1.47 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Svelte + TS</title>
</head>
<body>
<script src="//s.thsi.cn/cd/ths-frontend-common-lib-container/v1.2.6/business/stat.js"></script>
<script src="//s.thsi.cn/hxapp/m/base/js/skywalking.1.1.5.min.js" crossorigin></script>
<script
src="//s.thsi.cn/cd/b2cweb-fe-common-resource-pod/cache-one/js/performance/fe-skywalking/1.2.0/performance.utils.min.js"
crossorigin></script>
<script>
try {
PerformanceUtils.setConfig({
projectName: 'invest-course',
title: '一招鲜学堂', //没有该参数时会自动通过`document.title`拿html上面的title名称,如果同一个项目每个页面的title都不一样的话务必设置一个总的title来标识一下这个项目
rate: '1', //收费项目采样率统一为1,一般情况pcweb项目采样率统一为1,push页面采样率0.3
service: 'b2cpcweb::b2cweb-invest-course-front', //固定前缀b2cpcweb::+容器名(找后端同事确认)
uuid: '10a871cde29ed0d7397f1ccf1b96ccce', //femonitor平台uuid,
subGroup: 'charge' //收费-charge;免费:free
});
} catch (e) {
console.warn(e.message);
}
</script>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>