mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix player mouseover events
This commit is contained in:
parent
92798abb5d
commit
0e58d99f4e
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
(function () {
|
(function () {
|
||||||
var n2a = function (n) { return Array.prototype.slice.call(n); };
|
var n2a = function (n) { return Array.prototype.slice.call(n); };
|
||||||
|
|
||||||
var video_player = document.getElementById('player');
|
var video_player = document.getElementById('player_html5_api');
|
||||||
if (video_player) {
|
if (video_player) {
|
||||||
video_player.onmouseenter = function () { video_player['data-title'] = video_player['title']; video_player['title'] = ''; };
|
video_player.onmouseenter = function () { video_player['data-title'] = video_player['title']; video_player['title'] = ''; };
|
||||||
video_player.onmouseleave = function () { video_player['title'] = video_player['data-title']; video_player['data-title'] = ''; };
|
video_player.onmouseleave = function () { video_player['title'] = video_player['data-title']; video_player['data-title'] = ''; };
|
||||||
|
|
Loading…
Reference in a new issue