document.write('
'); var thumbs = []; for (var i=1; i<556; i=i+5) { thumbs.push({ url: "https://sekizuiriha00778.igaku-shoin.co.jp/data/00778/67401e52d8102/thumb/"+i+".jpg", time: i }); } var player = new Clappr.Player({ source: "//sekizuiriha00778.igaku-shoin.co.jp/data/00778/67401e52d8102/play.m3u8?u=test&mid=67401e52d8102&dev=_pc&0.449248001793856758", poster: "//sekizuiriha00778.igaku-shoin.co.jp/data/00778/67401e52d8102/thum.jpg?0.449248001793856758", parentId: "#hls_video67401e52d81026aec14f66db33", 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 }});