go to current position of recitation
This commit is contained in:
parent
5ebf07d485
commit
566ff6d002
@ -14,7 +14,7 @@
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<title>پیشنهاد اضافه شدن مصرعهای جا افتاده</title>
|
||||
<script src="/lib/jquery/dist/jquery.min.js"></script>
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/user-panel.css?version=1" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body class="bk-background">
|
||||
<div id="hdr">
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body class="bk-background">
|
||||
<div id="hdr">
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body class="bk-background">
|
||||
<div id="hdr">
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<title>درخواست حذف حاشیه</title>
|
||||
<script src="/lib/jquery/dist/jquery.min.js"></script>
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<style>
|
||||
label {
|
||||
width: 100px;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<title>
|
||||
@ViewData["Title"]
|
||||
</title>
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/spotify.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script src="/lib/jquery/dist/jquery.min.js"></script>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="سخنوران و نویسندگان گنجور روی نقشهٔ جغرافیایی" />
|
||||
<meta charset="utf-8" />
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link rel="stylesheet" href="/css/leaflet.css?version=2" />
|
||||
<style>
|
||||
.leaflet-container {
|
||||
@ -23,7 +23,7 @@
|
||||
font-family: 'Vazirmatn'
|
||||
}
|
||||
</style>
|
||||
<script src="/js/bk.js?version=91"></script>
|
||||
<script src="/js/bk.js?version=92"></script>
|
||||
<script src="~/js/jquery-1.10.2.min.js"></script>
|
||||
<script src="~/js/leaflet.js"></script>
|
||||
<script src="~/js/leaflet-providers.js"></script>
|
||||
|
||||
@ -11,11 +11,11 @@
|
||||
<title>
|
||||
@Html.Raw(ViewData["Title"])
|
||||
</title>
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
|
||||
<script src="/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="/js/bk.js?version=91"></script>
|
||||
<script src="/js/bk.js?version=92"></script>
|
||||
<script>
|
||||
var cookieValue = getCookie("playerScrollLock");
|
||||
var playerScrollLock = cookieValue === "true";
|
||||
|
||||
@ -75,6 +75,7 @@
|
||||
<div id="sticky-audio-player" class="up-sticky-player" style="display:none;">
|
||||
<span id="sticky-audio-narrator" class="up-sticky-player__narrator"></span>
|
||||
<div id="sticky-audio-slot" class="up-sticky-player__audio-slot"></div>
|
||||
<a role="button" class="cursor-pointer up-sticky-player__jump" onclick="scrollToCurrentVerse()" title="رفتن به بیت جاری">📍</a>
|
||||
<a role="button" class="cursor-pointer up-sticky-player__close" onclick="closeStickyPlayer()" title="بستن">✕</a>
|
||||
</div>
|
||||
}
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
گنجور » نمایش خوانش
|
||||
</title>
|
||||
<link href="~/dist/skin/pink.flag/css/jplayer.pink.flag.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="~/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="~/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
|
||||
<script>
|
||||
@ -150,7 +150,7 @@
|
||||
</p>
|
||||
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="~/js/bk.js?version=91"></script>
|
||||
<script src="~/js/bk.js?version=92"></script>
|
||||
<script src="~/js/jplayersupport.js"></script>
|
||||
<script src="~/js/vaabd.js?version=10"></script>
|
||||
<script src="~/dist/jplayer/jquery.jplayer.min.js"></script>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<title>اطلاعات رتبهبندی خوانشهای شعر</title>
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<title>گنجور » گزارش خطا در خوانش</title>
|
||||
<script src="/lib/jquery/dist/jquery.min.js"></script>
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link href="~/dist/skin/pink.flag/css/jplayer.pink.flag.min.css" rel="stylesheet" type="text/css" />
|
||||
<style>
|
||||
label {
|
||||
@ -238,7 +238,7 @@
|
||||
|
||||
|
||||
|
||||
<script src="~/js/bk.js?version=91"></script>
|
||||
<script src="~/js/bk.js?version=92"></script>
|
||||
<script src="~/js/jplayersupport.js"></script>
|
||||
<script src="~/js/vaabd.js?version=10"></script>
|
||||
<script src="~/dist/jplayer/jquery.jplayer.min.js"></script>
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" />
|
||||
<link href="/dist/skin/blue.monday/css/jplayer.blue.monday.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/user-panel.css?version=3" rel="stylesheet" type="text/css" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
|
||||
@ -36,7 +36,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<script src="/js/bk.js?version=91"></script>
|
||||
<script src="/js/bk.js?version=92"></script>
|
||||
<script>
|
||||
function editBanner(bannerId) {
|
||||
var url = '?handler=Edit';
|
||||
|
||||
@ -30,11 +30,11 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>@Html.Raw(ViewData["Title"])</title>
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
|
||||
<script src="/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="/js/bk.js?version=91"></script>
|
||||
<script src="/js/bk.js?version=92"></script>
|
||||
<script>
|
||||
var cookieValue = getCookie("playerScrollLock");
|
||||
var playerScrollLock = cookieValue === "true";
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" />
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/user-panel.css?version=3" rel="stylesheet" type="text/css" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
|
||||
@ -33,7 +33,7 @@
|
||||
});
|
||||
</script>
|
||||
<script src="/lib/diff.js"></script>
|
||||
<script src="/js/bk.js?version=91"></script>
|
||||
<script src="/js/bk.js?version=92"></script>
|
||||
<script>
|
||||
function compareCorrectionBlocks(originalElemenyId, editedElementId, resultElementId) {
|
||||
var a = document.getElementById(originalElemenyId);
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/spotify.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script src="/lib/jquery/dist/jquery.min.js"></script>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/spotify.css" rel="stylesheet" type="text/css" />
|
||||
<script src="/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="~/js/golha.js"></script>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/spotify.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script src="/lib/jquery/dist/jquery.min.js"></script>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<title>
|
||||
@ViewData["Title"]
|
||||
</title>
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<title>
|
||||
@ViewData["Title"]
|
||||
</title>
|
||||
<link href="/css/p8.css?version=91" rel="stylesheet" type="text/css" />
|
||||
<link href="/css/p8.css?version=92" rel="stylesheet" type="text/css" />
|
||||
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
|
||||
|
||||
|
||||
@ -3071,6 +3071,19 @@ mark {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.up-sticky-player__jump {
|
||||
cursor: pointer;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1;
|
||||
color: var(--lapis);
|
||||
padding: 4px 8px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.up-sticky-player__jump:hover {
|
||||
color: var(--brand);
|
||||
}
|
||||
|
||||
.up-sticky-player__close {
|
||||
cursor: pointer;
|
||||
font-size: 1.1rem;
|
||||
|
||||
@ -414,6 +414,19 @@ function closeStickyPlayer() {
|
||||
stickyPlayerDismissed = true;
|
||||
}
|
||||
|
||||
// Jumps to whichever verse currently matches the audio position, reusing the
|
||||
// #InlinePauseButton marker that hilightverse() already keeps positioned at
|
||||
// the currently-playing verse (recreated there every time the highlighted
|
||||
// verse changes) - no need to independently track playback position.
|
||||
function scrollToCurrentVerse() {
|
||||
var marker = document.getElementById('InlinePauseButton');
|
||||
if (!marker) return;
|
||||
var verseElement = marker.closest('.m1, .m2, .n, .l, .b2');
|
||||
if (verseElement && verseElement.scrollIntoView) {
|
||||
scrollToTargetAdjusted(verseElement);
|
||||
}
|
||||
}
|
||||
|
||||
function fillnarrations(coupletIndex) {
|
||||
if (typeof (narrators) == "undefined") {
|
||||
var blockid = '#play-block-' + coupletIndex;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user