diff --git a/pod/live/templates/live/direct.html b/pod/live/templates/live/direct.html
index 190539fd39..dfa0ec2766 100644
--- a/pod/live/templates/live/direct.html
+++ b/pod/live/templates/live/direct.html
@@ -188,7 +188,7 @@
}
// Management of the end of the stream (for Firefox, Chrome... not working for Edge, Safari)
- videojs.Hls.xhr.beforeRequest = function(options) {
+ videojs.Hls.xhr.onRequest = function(options) {
// Reset counter if video state is ok
if (started && player.readyState() > 2) { nbLoop = 0; }
if (started && player.readyState() <= 2) {
diff --git a/pod/live/templates/live/event-iframe.html b/pod/live/templates/live/event-iframe.html
index 3c478f743a..7fe2634657 100644
--- a/pod/live/templates/live/event-iframe.html
+++ b/pod/live/templates/live/event-iframe.html
@@ -140,7 +140,6 @@ {{ event.title }}
{# affichage du bouton d'info sur le player #}
{% if event.is_coming and event.video_on_hold.is_video or event.is_current %}
-
+ {% endif %}
+{% endif %}