summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-01-16 14:25:21 -0600
committerOmar Roth <omarroth@hotmail.com>2018-01-16 16:28:49 -0600
commit6b5426b5f6cacf6d5ccb18fe29664a0ae076fa72 (patch)
tree4313b15084a05b7c5b62a99dc0b2db56181bdd44 /src
parentf09f971af73a1e249d5eef6ee0d7c6692d83d5c9 (diff)
downloadinvidious-6b5426b5f6cacf6d5ccb18fe29664a0ae076fa72.tar.gz
invidious-6b5426b5f6cacf6d5ccb18fe29664a0ae076fa72.tar.bz2
invidious-6b5426b5f6cacf6d5ccb18fe29664a0ae076fa72.zip
Remove unnecessary view
Diffstat (limited to 'src')
-rw-r--r--src/views/listen.ecr18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/views/listen.ecr b/src/views/listen.ecr
deleted file mode 100644
index 97502fb6..00000000
--- a/src/views/listen.ecr
+++ /dev/null
@@ -1,18 +0,0 @@
-<h1><%= video_info["title"] %></h1>
-<video style="width: 100%" poster="<%= video_info.has_key?("iurlhq720") ? video_info["iurlhq720"] : video_info["iurl"] %>" controls>
-<% video_info["adaptive_fmts"].as(Hash).each do |key, value| %>
- <% url = value["url"] %>
- <% type = value["type"].to_s.split(";")[0] %>
- <% if type.starts_with?("audio") %>
- <source src="<%= url %>" type="<%= type %>">
- <% end %>
-<% end %>
-</video>
-<div class="pure-g">
-<div class="pure-u-1 pure-u-md-1-5"></div>
-<div class="pure-u-1 pure-u-md-3-5"></div>
-<div class="pure-u-1 pure-u-md-1-5">
- <p>Views : <%= video_info["view_count"] %></p>
- <p>Rating : <%= video_info["avg_rating"] %></p>
-</div>
-</div> \ No newline at end of file