You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When videojs adds the menus, it seems that the .vjs-menu-title LI item that's created is added to the .vjs-menu (which is a DIV) instead of the .vjs-menu-content.
This is present for me in 4.4.3. This is present on the main page of http://www.videojs.com/ . The output HTML in my case is:
Also there's another area in the source (vjs.MenuButton.prototype.createMenu) which may be affected by the same issue - it uses menu.el() which IIRC just returns component's el_ (so the div), but I don't hit that codepath.
+1, had the same issue, solved it by making a change here.
i've changed menu.el_ to menu.contentEl(), which properly sets the title item inside of the <ul></ul> element. there was a little bit of strangeness with styling that may additionally have to be addressed
When videojs adds the menus, it seems that the .vjs-menu-title LI item that's created is added to the .vjs-menu (which is a DIV) instead of the .vjs-menu-content.
This is present for me in 4.4.3. This is present on the main page of http://www.videojs.com/ . The output HTML in my case is:
It seems that the culprit is:
https://github.com/videojs/video.js/blob/master/src/js/tracks.js#L951
which uses menu.el_ rather than menu.contentEl (or creates an LI rather than a div, not sure what the 'right' fix is here, but either should work).
The text was updated successfully, but these errors were encountered: