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