|
videoPlayer.play({
texts: {
head: {
title: this.currentTitle
}
},
styles: {
head: {
bg: 'rgba(0.5,0.5,0.5,0.7)',
height: 44,
titleSize: 20,
titleColor: '#fff',
backTopMargin: 8,
backSize: 28,
backImg: '../../images/icon/back.png',
setSize: 26,
setImg: '../../images/icon/more.png'
},
foot: {
bg: 'rgba(0.5,0.5,0.5,0.7)',
height: 44,
playSize: 30,
playImg: '../../images/icon/play.png',
pauseImg: '../../images/icon/pause.png',
nextSize: 0,
nextImg: '',
timeSize: 14,
timeColor: '#fff',
sliderImg: '',
fullscreenImgSize: 30,
progressColor: '#696969',
progressSelected: '#1296db',
verticalImg: "../../images/icon/full_screen.png",
horizontalImg: "../../images/icon/exit_full_screen.png"
}
},
path: this.videoUrl,
autoPlay:false
}, function (ret, err) {
if (ret) {
console.log(JSON.stringify(ret))
} else {
console.log(JSON.stringify(err))
}
}); |
|