0
不工作我用這個代碼jwplayer:響應在jwplayer
<div id='myElement'></div>
<script type='text/javascript'>
var playerInstance = jwplayer("myElement");
playerInstance.setup({
image: "http://content.jwplatform.com/thumbs/PxnoM5gE-720.jpg",
sources: [{
file: "http://content.jwplatform.com/videos/PxnoM5gE-720.mp4",
label: "720p HD"
},{
file: "http://content.jwplatform.com/videos/PxnoM5gE-360.mp4",
label: "360p SD",
"default": "true"
},{
file: "http://content.jwplatform.com/videos/PxnoM5gE-180.mp4",
label: "180p Web"
}]
});
</script>
和工作。在添加寬度之後:「50%」,以及aspectratio:「16:9」,以便在網站上不顯示響應式播放器!
感謝您的幫助
非常感謝。工作! –