Browse Source

remove SWF enclosure audio player

Andrew Dolgov 11 months ago
parent
commit
df47100ad1
4 changed files with 2 additions and 20 deletions
  1. 2 10
      include/controls.php
  2. 0 10
      lib/button/license.txt
  3. BIN
      lib/button/musicplayer.swf
  4. BIN
      lib/button/musicplayer_f6.swf

+ 2 - 10
include/controls.php

@@ -94,7 +94,7 @@ function print_feed_multi_select($id, $default_ids = [],
 				(SELECT COUNT(id) FROM ttrss_feed_categories AS c2 WHERE
 					c2.parent_cat = ttrss_feed_categories.id) AS num_children
 				FROM ttrss_feed_categories
-				WHERE owner_uid = :uid AND 
+				WHERE owner_uid = :uid AND
 				(parent_cat = :root_id OR (:root_id IS NULL AND parent_cat IS NULL)) ORDER BY title");
 
 		$sth->execute([":uid" => $_SESSION['uid'], ":root_id" => $root_id]);
@@ -188,7 +188,7 @@ function print_feed_cat_select($id, $default_id,
 				(SELECT COUNT(id) FROM ttrss_feed_categories AS c2 WHERE
 					c2.parent_cat = ttrss_feed_categories.id) AS num_children
 				FROM ttrss_feed_categories
-				WHERE owner_uid = :uid AND 
+				WHERE owner_uid = :uid AND
 				  (parent_cat = :root_id OR (:root_id IS NULL AND parent_cat IS NULL)) ORDER BY title");
 	$sth->execute([":uid" => $_SESSION['uid'], ":root_id" => $root_id]);
 
@@ -293,14 +293,6 @@ function format_inline_player($url, $ctype) {
 					<source type=\"$ctype\" src=\"$url\"/>
 					</audio>";
 
-		} else {
-
-			$entry .= "<object type=\"application/x-shockwave-flash\"
-					data=\"lib/button/musicplayer.swf?song_url=$url\"
-					width=\"17\" height=\"17\" style='float : left; margin-right : 5px;'>
-					<param name=\"movie\"
-						value=\"lib/button/musicplayer.swf?song_url=$url\" />
-					</object>";
 		}
 
 		if ($entry) $entry .= "&nbsp; <a target=\"_blank\" rel=\"noopener noreferrer\"

File diff suppressed because it is too large
+ 0 - 10
lib/button/license.txt


BIN
lib/button/musicplayer.swf


BIN
lib/button/musicplayer_f6.swf