document.write('
'); var thumbs = []; for (var i=1; i<0; i=i+1) { thumbs.push({ url: "https://smart.nct.jp/data///thumb/"+i+".jpg", time: i }); } var player = new Clappr.Player({ source: "https://smart.nct.jp/data///play.m3u8?u=test&mid=&dev=_pc&0.501209001729611002", poster: "https://smart.nct.jp/data///thum.jpg?0.501209001729611002", parentId: "#hls_video6717c4fa7a62f", width: "640", height: "360", autoPlay: false, loop: false, mute: false, disableVideoTagContextMenu: true, pause: true, preload: 'metadata', hideMediaControl: true, plugins: { 'core': [ClapprHeadingPlugin,LevelSelector,PlaybackRatePlugin,ClapprThumbnailsPlugin] }, playbackRateConfig: { defaultValue: '1.0', options: [ {value: '0.25', label: '0.25x'}, {value: '0.5', label: '0.5x'}, {value: '0.75', label: '0.75x'}, {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'} ] }, 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 }});