Open tmozgach opened 6 years ago
YouTube API: https://developers.google.com/youtube/iframe_api_reference
'player.getCurrentTime()' :Number Returns the elapsed time in seconds since the video started playing.
Initial, not ready web page: https://github.com/tmozgach/hci_video_sum/blob/master/index.html https://github.com/tmozgach/hci_video_sum/blob/master/script.js
When a user presses "Save and Go to Task 2", the download windows shows up and user has to press "Save". In that case, the file with User ID and information about clicks will be saved. It is done in order to avoid creating the server side or PHP.
Our file contains the following:
testUser
AMPLITUDE | NEW ZEALAND 4K/UHD
false
no
289.781
0.057000045776367185,28.25864494468689,279.4265210076294
15.132250011444091,278.80170801335146
Where, 1 line: ID of a participant; 2 line: name of the video; 3 line: is muted? 4 line: caption on? 5 line: duration of the video; 6 line: moment when the participant press 'like'; 7 line: moment when the participant press 'dislike';
Key words: Track mouse event over video; Ideas: create a web page with 2 buttons (useful, boring). track number of skips.