-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when experimentalSvgIcons: true and the video don't start play can't see the play button #8336
Labels
Comments
Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:
|
amtins
added a commit
to amtins/video.js
that referenced
this issue
Jul 2, 2023
Svg play icon is missing when player is initialized with class `vjs-has-started`. - add `setIcon` to the `play-toggle` component constructor Fixes videojs#8336
7 tasks
@friendtasy thank you for reporting this issue. Until the patch is released, you can mitigate the problem as follows: class PlayToggle extends videojs.getComponent('PlayToggle') {
constructor(player, options) {
super(player, options);
this.setIcon('play');
}
}
// replaces the standard component
videojs.registerComponent('PlayToggle', PlayToggle);
// player initialization
const player = videojs('player', {}); |
mister-ben
pushed a commit
that referenced
this issue
Jul 4, 2023
Svg play icon is missing when player is initialized with class `vjs-has-started`. - add `setIcon` to the `play-toggle` component constructor Fixes #8336
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
use html like that
the img
and start play
Reduced test case
none
Steps to reproduce
1.ready video
2.
3.
Errors
No response
What version of Video.js are you using?
8.5.0
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
chrome 114
What OS(es) and version(s) does this occur with?
windows 11
The text was updated successfully, but these errors were encountered: