Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(vgControls): Track playing state of media specified in vgFor#743

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
kwarismian wants to merge1 commit intovideogular:master
base:master
Choose a base branch
Loading
fromkwarismian:topic/vg-controls-vgFor-tracking

Conversation

kwarismian
Copy link
Contributor

vgControls can set vgFor to track play/pause/ads for play and pause checking of control hiding, but
by checking this.API in the hideAsync function a project without vgMaster set can end up checking
the state of a different media than the one bound to vgControls, which could be sitting in a pause
state while the media bound to the controls is happily in a playing state. This change sets
this.target to always have a media binding so that the controls are either controlling the one found
in vgFor or the default media of the API (meaning this adds specificity without changing the
previous result of getting state values from the default media object).

Tests have been updated to include a vgMedia object for the new binding.

#716

vgControls can set vgFor to track play/pause/ads for play and pause checking of control hiding, butby checking this.API in the hideAsync function a project without vgMaster set can end up checkingthe state of a different media than the one bound to vgControls, which could be sitting in a pausestate while the media bound to the controls is happily in a playing state.  This change setsthis.target to always have a media binding so that the controls are either controlling the one foundin vgFor or the default media of the API (meaning this adds specificity without changing theprevious result of getting state values from the default media object).videogular#716
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@kwarismian

[8]ページ先頭

©2009-2025 Movatter.jp