document.write('
'); var thumbs = []; for (var i=1; i<30; i=i+1) { thumbs.push({ url: "https://dentsu2.nct.jp/data/dentsu2/5d66fff60b3c0/thumb/"+i+".jpg", time: i }); } var player = new Clappr.Player({ source: "https://dentsu2.nct.jp/data/dentsu2/5d66fff60b3c0/play.m3u8?u=test&mid=5d66fff60b3c0&dev=_pc&0.188588001714609600", poster: "https://dentsu2.nct.jp/data/dentsu2/5d66fff60b3c0/thum.jpg?0.188588001714609600", parentId: "#hls_video136632ddc02e106", width: "288", height: "162", autoPlay: false, loop: false, disableVideoTagContextMenu: true, pause: true, preload: 'metadata', hideMediaControl: true, plugins: { 'core': [ClapprHeadingPlugin,ClapprThumbnailsPlugin] }, playbackRateConfig: { defaultValue: '1.0', options: [ {value: '0.5', label: '0.5x'}, {value: '1.0', label: '1x'}, {value: '2.0', label: '2x'}, {value: '4.0', label: '4x'}, {value: '8.0', label: '8x'}, ] }, headingPlugin: { // text: "ほぐれる体操/肩からふくらはぎ篇", // hyperlink: "http://google.com", // optional, can also be a callback // openInNewWindow: true // optional }, scrubThumbnails: { backdropHeight: 64, // set to 0 or null to disable backdrop spotlightHeight: 84, // set to 0 or null to disable spotlight thumbs: thumbs }});