cinera_player_post.js: s/setTime/setTimeThenPlay
Thanks to @nairou on twitter for the report
This commit is contained in:
parent
dd33bb49b3
commit
97806c2c9c
|
@ -23,7 +23,7 @@ typedef struct
|
|||
version CINERA_APP_VERSION = {
|
||||
.Major = 0,
|
||||
.Minor = 9,
|
||||
.Patch = 0
|
||||
.Patch = 1
|
||||
};
|
||||
|
||||
#include <stdarg.h> // NOTE(matt): varargs
|
||||
|
|
|
@ -385,7 +385,7 @@ for(var i = 0; i < topicDots.length; ++i)
|
|||
var lastAnnotationStorageItem = "cineraTimecode_" + window.location.pathname;
|
||||
var lastAnnotation;
|
||||
if(location.hash) {
|
||||
player.setTime(location.hash.startsWith('#') ? location.hash.substr(1) : location.hash);
|
||||
player.setTimeThenPlay(location.hash.startsWith('#') ? location.hash.substr(1) : location.hash);
|
||||
}
|
||||
else if(lastAnnotation = localStorage.getItem(lastAnnotationStorageItem))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue