(ActionEvent e)
| 226 | HTML5Video.addActionListener(jsvideo, new ActionListener() { |
| 227 | |
| 228 | @Override |
| 229 | public void actionPerformed(ActionEvent e) { |
| 230 | String event = e.getActionCommand(); |
| 231 | // Object[] sources = (Object[]) e.getSource(); |
| 232 | // HTML5Video target = (HTML5Video) sources[0]; |
| 233 | // Object jsevent = sources[1]; |
| 234 | System.out.println(event + " " + HTML5Video.getCurrentTime(jsvideo)); |
| 235 | if (cbCapture != null && cbCapture.isSelected() && event.equals("canplaythrough")) { |
| 236 | grabImage(); |
| 237 | } |
| 238 | |
| 239 | } |
| 240 | |
| 241 | }); |
| 242 |
no test coverage detected