使用しているプレーヤーは何ですか。JWPlayerやFlowPlayerなどのオープンソースのビデオプレーヤーを使用している場合。イベントを追跡できます。私は個人的にフロープレーヤーを好み、グーグルアナリティクスを使用して、ページ上で必要な期間やその他のタスクを追跡できます。
ページに認証メカニズムがあるので、学生のユーザー名(または識別子)を取得できます。これをラベルとしてGoogleAnalyticにイベントをプッシュすると、クリックしたリンク、再生した時間、再生した時間など、生徒が行ったすべてのことを追跡できます...
セットアップ例
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '#########']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
記録します
_gaq.push(['_trackEvent', 'Videos', 'Play', 'Gone With the Wind']);
これは、http: //vsp.ideawide.com/から取得したライブコードの一部であり、これらのイベントの一部を追跡しています。
var events = {
clip : {
onStart: function(clip) {
_gaq.push(['_trackEvent',"Videos", "Play", defaults.source]);
},
onPause: function(clip) {
_gaq.push(['_trackEvent',"Videos", "Pause", defaults.source, parseInt(this.getTime())]);
},
onResume: function(clip) {
_gaq.push(['_trackEvent',"Videos", "Resume", defaults.source, parseInt(this.getTime())]);
},
onSeek: function(clip) {
_gaq.push(['_trackEvent',"Videos", "Seek", defaults.source ]);
},
onStop: function(clip) {
_gaq.push(['_trackEvent',"Videos", "Stop", defaults.source, parseInt(this.getTime())]);
},
onFinish: function(clip) {
_gaq.push(['_trackEvent',"Videos", "Finish", defaults.source]);
}
},
onFullscreen: function() {
_gaq.push(['_trackEvent',"Videos", "Full Screen", defaults.source]);
},
onError: function(errorCode , errorMessage) {
_gaq.push(['_trackEvent',"Videos", "Error", defaults.source, errorCode ]);
}
}
適切なプレーヤーを使用して分析を適切に設定した最後の注意として、80/20を99/1に改善できます。