-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #176 from mashirozx/dev
update to v3.3.5
- Loading branch information
Showing
21 changed files
with
115 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -525,21 +525,23 @@ function killCoverVideo() { | |
|
||
function coverVideoIni() { | ||
if ($('video').hasClass('hls')) { | ||
var video = addComment.I('coverVideo'); | ||
var video_src = $('#coverVideo').attr('data-src'); | ||
if (Hls.isSupported()) { | ||
var hls = new Hls(); | ||
hls.loadSource(video_src); | ||
hls.attachMedia(video); | ||
hls.on(Hls.Events.MANIFEST_PARSED, function () { | ||
video.play(); | ||
}); | ||
} else if (video.canPlayType('application/vnd.apple.mpegurl')) { | ||
video.src = video_src; | ||
video.addEventListener('loadedmetadata', function () { | ||
video.play(); | ||
}); | ||
} | ||
$.getScript("https://cdn.jsdelivr.net/gh/mashirozx/[email protected]/cdn/js/src/16.hls.js", function(){ | ||
var video = addComment.I('coverVideo'); | ||
var video_src = $('#coverVideo').attr('data-src'); | ||
if (Hls.isSupported()) { | ||
var hls = new Hls(); | ||
hls.loadSource(video_src); | ||
hls.attachMedia(video); | ||
hls.on(Hls.Events.MANIFEST_PARSED, function () { | ||
video.play(); | ||
}); | ||
} else if (video.canPlayType('application/vnd.apple.mpegurl')) { | ||
video.src = video_src; | ||
video.addEventListener('loadedmetadata', function () { | ||
video.play(); | ||
}); | ||
} | ||
}); | ||
//console.info('ini:coverVideoIni()'); | ||
} | ||
} | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Sakura\n" | ||
"POT-Creation-Date: 2019-12-13 14:51+0800\n" | ||
"PO-Revision-Date: 2019-12-13 14:51+0800\n" | ||
"POT-Creation-Date: 2019-12-25 10:43+0800\n" | ||
"PO-Revision-Date: 2019-12-25 10:43+0800\n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"Language: en_US\n" | ||
|
@@ -107,7 +107,7 @@ msgid "Name* " | |
msgstr "" | ||
|
||
#: comments.php:95 | ||
msgid "You\\' receive notification by email" | ||
msgid "You will receive notification by email" | ||
msgstr "" | ||
|
||
#: comments.php:95 | ||
|
@@ -205,7 +205,7 @@ msgstr "" | |
msgid "QQ" | ||
msgstr "" | ||
|
||
#: functions.php:1664 | ||
#: functions.php:1665 | ||
msgid "Sidebar" | ||
msgstr "" | ||
|
||
|
@@ -1303,15 +1303,16 @@ msgid "" | |
msgstr "" | ||
|
||
#: options.php:879 | ||
msgid "Cover CDN" | ||
msgid "Cover manifest" | ||
msgstr "" | ||
|
||
#: options.php:880 | ||
#, php-format | ||
msgid "" | ||
"Fill in the cdn path for random picture display, without adding a slash at " | ||
"the end, for example: https://cdn.jsdelivr.net/gh/mashirozx/[email protected], " | ||
"Fill in the manifest path for random picture display, without adding a slash " | ||
"at the end, for example: https://cdn.jsdelivr.net/gh/mashirozx/[email protected], " | ||
"please refer to <a href = \"https: //github.com/mashirozx/Sakura/wiki/options" | ||
"\">Wiki </a>" | ||
"\">Wiki </a>. Click <a href = \"%s\">here</a> to update manifest" | ||
msgstr "" | ||
|
||
#: options.php:886 | ||
|
@@ -1409,7 +1410,7 @@ msgid "" | |
msgstr "" | ||
|
||
#: options.php:973 | ||
msgid "The categories of articles that don\\t not show on homepage" | ||
msgid "The categories of articles that don't not show on homepage" | ||
msgstr "" | ||
|
||
#: options.php:974 options.php:981 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ msgid "" | |
msgstr "" | ||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | ||
"Project-Id-Version: Sakura\n" | ||
"POT-Creation-Date: 2019-12-13 14:50+0800\n" | ||
"POT-Creation-Date: 2019-12-25 10:43+0800\n" | ||
"PO-Revision-Date: 2019-11-01 14:27+0800\n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
|
@@ -107,7 +107,7 @@ msgid "Name* " | |
msgstr "" | ||
|
||
#: comments.php:95 | ||
msgid "You\\' receive notification by email" | ||
msgid "You will receive notification by email" | ||
msgstr "" | ||
|
||
#: comments.php:95 | ||
|
@@ -204,7 +204,7 @@ msgstr "" | |
msgid "QQ" | ||
msgstr "" | ||
|
||
#: functions.php:1664 | ||
#: functions.php:1665 | ||
msgid "Sidebar" | ||
msgstr "" | ||
|
||
|
@@ -1287,14 +1287,16 @@ msgid "" | |
msgstr "" | ||
|
||
#: options.php:879 | ||
msgid "Cover CDN" | ||
msgid "Cover manifest" | ||
msgstr "" | ||
|
||
#: options.php:880 | ||
#, php-format | ||
msgid "" | ||
"Fill in the cdn path for random picture display, without adding a slash at the end, for " | ||
"Fill in the manifest path for random picture display, without adding a slash at the end, for " | ||
"example: https://cdn.jsdelivr.net/gh/mashirozx/[email protected], please refer to <a href = " | ||
"\"https: //github.com/mashirozx/Sakura/wiki/options\">Wiki </a>" | ||
"\"https: //github.com/mashirozx/Sakura/wiki/options\">Wiki </a>. Click <a href = \"%s\">here</" | ||
"a> to update manifest" | ||
msgstr "" | ||
|
||
#: options.php:886 | ||
|
@@ -1387,7 +1389,7 @@ msgid "" | |
msgstr "" | ||
|
||
#: options.php:973 | ||
msgid "The categories of articles that don\\t not show on homepage" | ||
msgid "The categories of articles that don't not show on homepage" | ||
msgstr "" | ||
|
||
#: options.php:974 options.php:981 | ||
|
Binary file not shown.
Oops, something went wrong.