document.write('
'); var thumbs = []; for (var i=1; i<211; i=i+5) { thumbs.push({ url: "https://syoukaki05052.igaku-shoin.co.jp/data/05052/6350add4749c1/thumb/"+i+".jpg", time: i }); } var player = new Clappr.Player({ source: "//syoukaki05052.igaku-shoin.co.jp/data/05052/6350add4749c1/play.m3u8?u=test&mid=6350add4749c1&dev=_pc&0.318654001730754754", poster: "//syoukaki05052.igaku-shoin.co.jp/data/05052/6350add4749c1/thum.jpg?0.318654001730754754", parentId: "#hls_video6350add4749c1672938c24dd15", width: "1000", height: "562.71981242673", autoPlay: false, loop: false, disableVideoTagContextMenu: true, pause: true, preload: 'metadata', playback: { playInline: true, }, plugins: { 'core': [LevelSelector,ClapprThumbnailsPlugin] }, playbackRateConfig: { defaultValue: '1.0', options: [ {value: '0.5', label: '0.5x'}, {value: '1.0', label: '1x'}, {value: '1.25', label: '1.25x'}, {value: '1.5', label: '1.5x'}, {value: '1.75', label: '1.75x'}, {value: '2.0', label: '2x'}, {value: '4.0', label: '4x'}, {value: '8.0', label: '8x'}, ] }, scrubThumbnails: { backdropHeight: 64, // set to 0 or null to disable backdrop spotlightHeight: 84, // set to 0 or null to disable spotlight thumbs: thumbs }});