This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
hxmc:videoplayer [2013/10/19 09:14] tschulz [Implementation] |
hxmc:videoplayer [2013/10/19 09:15] (current) tschulz [Implementation] |
||
---|---|---|---|
Line 6: | Line 6: | ||
* function will be called **getPlayerTime()** | * function will be called **getPlayerTime()** | ||
* using the mysql table key **fileId** and **userId** a ajax call could store the position in a database table. | * using the mysql table key **fileId** and **userId** a ajax call could store the position in a database table. | ||
- | * ajax call could run inside the function that executes player.currentTime() | + | * ajax call could run inside the function **getPlayerTime()** |
* could use **player.timeupdate** event to run **getPlayerTime()** on a periodic basis. | * could use **player.timeupdate** event to run **getPlayerTime()** on a periodic basis. | ||
===== Position Table ===== | ===== Position Table ===== |