mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 12:42:09 +00:00 
			
		
		
		
	Use <audio> tag for audio only
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| <video style="width:100%" playsinline poster="<%= thumbnail %>" title="<%= HTML.escape(video.title) %>"  | ||||
| <<% if params[:listen]%>audio<% else %>video<% end %> style="width:100%" playsinline poster="<%= thumbnail %>" title="<%= HTML.escape(video.title) %>"  | ||||
|     id="player" class="video-js" | ||||
|     onmouseenter='this["title"]=""' | ||||
|     <% if params[:autoplay] %>autoplay<% end %> | ||||
| @@ -34,7 +34,7 @@ | ||||
|             label="<%= caption.name.simpleText %>"> | ||||
|         <% end %> | ||||
|     <% end %> | ||||
| </video> | ||||
| </<% if params[:listen]%>audio<% else %>video<% end %>> | ||||
|  | ||||
| <script> | ||||
| var options = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Omar Roth
					Omar Roth