Commit ecceec8e authored by Xiaowu Zhang's avatar Xiaowu Zhang

fix id empty bug for video control

parent 53a00cb4
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
g.__element.getElementsByClassName("next")[0].href = url; g.__element.getElementsByClassName("next")[0].href = url;
g.index = 35e5; g.index = 35e5;
return g.jio_getAttachment({ return g.jio_getAttachment({
_id: g.id, _id: g.currentId,
_attachment: "enclosure", _attachment: "enclosure",
_start: 0, _start: 0,
_end: 35e5 _end: 35e5
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
return; return;
} }
return g.jio_getAttachment({ return g.jio_getAttachment({
_id: g.id, _id: g.currentId,
_attachment: "enclosure", _attachment: "enclosure",
_start: g.index, _start: g.index,
_end: g.index + 35e5 _end: g.index + 35e5
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
.push(function (url) { .push(function (url) {
g.__element.getElementsByClassName("next")[0].href = url; g.__element.getElementsByClassName("next")[0].href = url;
g.index = 3500000; g.index = 3500000;
return g.jio_getAttachment({"_id" : g.id, return g.jio_getAttachment({"_id" : g.currentId,
"_attachment" : "enclosure", "_attachment" : "enclosure",
"_start": 0, "_start": 0,
"_end": 3500000}); "_end": 3500000});
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
} }
return; return;
} }
return g.jio_getAttachment({"_id" : g.id, return g.jio_getAttachment({"_id" : g.currentId,
"_attachment" : "enclosure", "_attachment" : "enclosure",
"_start": g.index, "_start": g.index,
"_end": g.index + 3500000}) "_end": g.index + 3500000})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment