in embed player, rewind when done
This commit is contained in:
parent
9b518676ae
commit
91706f3bec
1 changed files with 3 additions and 0 deletions
|
@ -155,6 +155,9 @@ Ox.load('UI', {
|
||||||
) {
|
) {
|
||||||
if (!pandora.$player.options('paused')) {
|
if (!pandora.$player.options('paused')) {
|
||||||
pandora.$player.togglePaused();
|
pandora.$player.togglePaused();
|
||||||
|
if (data.position > options.out) {
|
||||||
|
data.position = options['in'] - 0.05;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
pandora.$player.options({
|
pandora.$player.options({
|
||||||
position: data.position < options['in'] - 0.04
|
position: data.position < options['in'] - 0.04
|
||||||
|
|
Loading…
Reference in a new issue