summaryrefslogtreecommitdiff
path: root/api/video.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-11-11 23:47:49 +0100
committerMinteck <contact@minteck.org>2022-11-11 23:47:49 +0100
commit209356b8ade1920b50d1d3a1a5e121c6623d167b (patch)
tree5301396987d1510f715a0b1c24754873af19e1dc /api/video.php
parent2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 (diff)
downloadpluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.gz
pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.bz2
pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.zip
Update
Diffstat (limited to 'api/video.php')
-rw-r--r--api/video.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/api/video.php b/api/video.php
index 00c8214..21af642 100644
--- a/api/video.php
+++ b/api/video.php
@@ -25,15 +25,10 @@ if (isset($_GET['id'])) {
echo(json_encode([
"title" => $data["fulltitle"],
"author" => $data["channel"],
- "count" => [
- "channel" => $data["channel_follower_count"],
- "likes" => $data["like_count"],
- "views" => $data["view_count"]
- ],
"duration" => $data["duration"],
"stream" => $selected,
"url" => $stream["url"],
- "duration_pretty" => $stream["duration_string"],
+ "duration_pretty" => $data["duration_string"],
"poster" => $data["thumbnail"],
], JSON_PRETTY_PRINT));
} \ No newline at end of file