This commit is contained in:
@@ -488,7 +488,7 @@ const loadTplayer = () => {
|
||||
|
||||
videoEl.setAttribute("preload", "auto");
|
||||
videoEl.setAttribute("style", "object-fit: cover;");
|
||||
videoEl.setAttribute("muted", "");
|
||||
// videoEl.setAttribute("muted", "");
|
||||
videoEl.setAttribute("autoplay", "");
|
||||
videoEl.setAttribute("id", "player-container-id");
|
||||
videoEl.setAttribute("class", "w-full h-full");
|
||||
@@ -499,12 +499,12 @@ const loadTplayer = () => {
|
||||
|
||||
player.value = TCPlayer("player-container-id", {
|
||||
autoplay: true,
|
||||
muted: true,
|
||||
muted: false,
|
||||
preload: "auto",
|
||||
controlBar: {
|
||||
playToggle: true,
|
||||
progressControl: false,
|
||||
volumePanel: false,
|
||||
volumePanel: true,
|
||||
currentTimeDisplay: false,
|
||||
durationDisplay: false,
|
||||
timeDivider: false,
|
||||
@@ -530,7 +530,7 @@ const loadTplayer = () => {
|
||||
"https://license.vod2.myqcloud.com/license/v2/1327927250_1/v_cube.license", // license 地址,参考准备工作部分,在视立方控制台申请 license 后可获得 licenseUrl
|
||||
});
|
||||
|
||||
player.value.muted(true);
|
||||
// player.value.muted(true);
|
||||
};
|
||||
|
||||
const initPlayer = () => {
|
||||
|
||||
Reference in New Issue
Block a user