document.write('
'); var thumbs = []; for (var i=1; i<58; i=i+1) { thumbs.push({ url: "https://dentsu2.nct.jp/data/dentsu2/5d665e90d2e8a/thumb/"+i+".jpg", time: i }); } var player = new Clappr.Player({ source: "https://dentsu2.nct.jp/data/dentsu2/5d665e90d2e8a/play.m3u8?u=test&mid=5d665e90d2e8a&dev=_pc&0.121408001714628494", poster: "https://dentsu2.nct.jp/data/dentsu2/5d665e90d2e8a/thum.jpg?0.121408001714628494", parentId: "#hls_video76633278e1da9a", 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 }});