document.write('
'); var thumbs = []; for (var i=1; i<8; i=i+1) { thumbs.push({ url: "https://sekizuiriha00778.igaku-shoin.co.jp/data/00778/674edb42afdd2/thumb/"+i+".jpg", time: i }); } var player = new Clappr.Player({ source: "//sekizuiriha00778.igaku-shoin.co.jp/data/00778/674edb42afdd2/play.m3u8?u=test&mid=674edb42afdd2&dev=_pc&0.016265001793856769", poster: "//sekizuiriha00778.igaku-shoin.co.jp/data/00778/674edb42afdd2/thum.jpg?0.016265001793856769", parentId: "#hls_video674edb42afdd26aec150103fd5", width: "640", height: "480", autoPlay: false, loop: false, disableVideoTagContextMenu: true, pause: true, preload: 'metadata', playback: { playInline: true, }, plugins: { 'core': [LevelSelector,PlaybackRatePlugin,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 }});