forked from 0x2620/pandora
indent
This commit is contained in:
parent
f3f40f6e2f
commit
152d2f7cbe
1 changed files with 1166 additions and 1165 deletions
|
@ -22,7 +22,8 @@ $(function() {
|
||||||
pageWidth = $document.width() - 384 - 2,
|
pageWidth = $document.width() - 384 - 2,
|
||||||
posterFrame = 1515,
|
posterFrame = 1515,
|
||||||
points = [2059, 2748],
|
points = [2059, 2748],
|
||||||
videoId = document.location.hash.substring(1);
|
videoId = document.location.hash.substring(1),
|
||||||
|
videoUrl = "/" + videoId + "/96p." + ($.support.video.webm ? "webm": "mp4");
|
||||||
|
|
||||||
$.getJSON("/" + videoId + "/data/video.json", function(video) {
|
$.getJSON("/" + videoId + "/data/video.json", function(video) {
|
||||||
var duration = video.duration,
|
var duration = video.duration,
|
||||||
|
@ -77,7 +78,7 @@ $(function() {
|
||||||
posterFrame: self.options.posterFrame,
|
posterFrame: self.options.posterFrame,
|
||||||
subtitles: self.options.subtitles,
|
subtitles: self.options.subtitles,
|
||||||
type: type,
|
type: type,
|
||||||
url: "/" + videoId + "/96p." + ($.support.video.webm ? "webm": "mp4"),
|
url: videoUrl,
|
||||||
width: self.sizes.player[i].width
|
width: self.sizes.player[i].width
|
||||||
})
|
})
|
||||||
.css({
|
.css({
|
||||||
|
|
Loading…
Reference in a new issue