【動画版】一般流通に伴う処方・調剤に関する留意点

// AA連携 var eqFired = []; function eqTrackState() { if (typeof _satellite == "undefined") return; state = eqPlayer.accessor.state; // playing / paused / seek_start / complete if (state == "playing") { eqFireOnce("start"); progress = Math.floor((eqPlayer.accessor.getCurrentTime() / eqPlayer.accessor.getTotalTime()) * 100); window.eqTrackProgress = window.eqTrackProgress || _satellite.getVar("JStream - eqTrackProgress") || [50, 75]; for (let i = 0; i < eqTrackProgress.length; i++) { if (progress > eqTrackProgress[i]) eqFireOnce(eqTrackProgress[i] + "%"); } } if (state == "complete") eqFireOnce("complete"); } function eqFireOnce(state) { if (!eqFired.includes(state)) { eqTrackAA(state); eqFired.push(state); } } function eqTrackAA(state) { title_aa = typeof eqTitle != 'undefined' ? eqTitle : "id " + eqPlayer.accessor.getMetaId(); if (state == "start") { // 再生開始 _satellite.track("jstream",{status:"started", title: title_aa}); } else if (state == "complete") { // 再生完了 _satellite.track("jstream",{status:"complete", title: title_aa}); } else { // 途中再生 _satellite.track("jstream",{status:"playing", title: title_aa, progress: state}); } } if (typeof _satellite == "object") { eqPlayer.accessor.progressRate = 1; // times per second eqPlayer.accessor.addEventListener("progress", eqTrackState); eqPlayer.accessor.addEventListener("change_state", eqTrackState); }

その他のゾコーバ関連情報