1
0
mirror of https://github.com/TeamNewPipe/website synced 2025-10-05 16:13:13 +02:00

Update to latest API version

This commit is contained in:
TobiGr
2023-09-04 16:48:02 +02:00
parent d17eb94798
commit 511c0b7842
3 changed files with 7 additions and 7 deletions

View File

@@ -534,8 +534,8 @@
Android 5+
</div>
<div class="download-version-button">
<a href="https://github.com/TeamNewPipe/NewPipe/releases" data-newpipe-api="flavors.github.stable.apk" data-newpipe-api-attribute="href" class="button action">
<i class="fa fa-download"></i> NewPipe <span data-newpipe-api="flavors.github.stable.version"></span>
<a href="https://github.com/TeamNewPipe/NewPipe/releases" data-newpipe-api="flavors.newpipe.apk" data-newpipe-api-attribute="href" class="button action">
<i class="fa fa-download"></i> NewPipe <span data-newpipe-api="flavors.newpipe.version"></span>
</a>
</div>
</div>
@@ -546,8 +546,8 @@
<h4>APK Info</h4>
</div>
<div class="download-info-content">
<p><span data-newpipe-api="github-hash-type">SHA256</span>:
<code data-newpipe-api="github-hash">c5d411aa177d0209dd9b0e0c163c430f92c47ab3599b8118a2d0039526399185</code>
<p>Hash sum: <span data-newpipe-api="flavors.newpipe.hash_type">hashing algorithm not available</span>
<code data-newpipe-api="flavors.newpipe.hash">hash sum not available</code>
</p>
<p>
Signing key:

View File

@@ -13,7 +13,7 @@
*
* Example usage:
* <pre>
* <a href="https://default.locati.on" data-newpipe-api="flavors.fdroid.stable.apk" data-newpipe-api-attribute="href">
* <a href="https://default.locati.on" data-newpipe-api="flavors.newpipe.apk" data-newpipe-api-attribute="href">
* download APK</a>
* </pre>
*/
@@ -45,7 +45,7 @@ function updateWithAPIData(object, key, oldIdentifier) {
// get all elements which registered to be updated with the API data
let elementsToUpdate = document.querySelectorAll('[data-newpipe-api="' + newIdentifier + '"]');
if (elementsToUpdate == null) return;
if (elementsToUpdate == null || elementsToUpdate.length === 0) return;
let data = object.toString();
for (let i = 0; i < elementsToUpdate.length; i++) {

View File

@@ -15,7 +15,7 @@ metatitle: "Press information - NewPipe a free YouTube client"
<p class="good-user-experience">A good user experience is important to the developers of NewPipe. Therefore, the app offers many solutions for all possible situations. In this way, the resolution and codecs of the video and audio can be set to save data volume in mobile networks. Likewise, NewPipe's video popup and background players make it possible to seamlessly integrate videos and music into daily mobile phone use.</p>
<p><strong>Quick information:</strong></p>
<ul>
<li>Current stable version: <span data-newpipe-api="flavors.fdroid.stable.version">0.25.2 (Effective 2th September 2023)</span></li>
<li>Current stable version: <span data-newpipe-api="flavors.newpipe.version">0.25.2 (Effective 2th September 2023)</span></li>
<li>Initial release: 4. September 2015</li>
<li>Founder: Christian Schabesberger</li>
<li class="linebreak">Available translations: <span data-newpipe-api="stats.translations">110</span><br>You can find a list with all current supported languages at <a href="https://hosted.weblate.org/projects/newpipe/#languages" target="_blank">Weblate</a>.</li>