Skip to content

Comments

Reset state when loading a new video#132

Open
ryanwalters wants to merge 3 commits intomicnews:masterfrom
ryanwalters:master
Open

Reset state when loading a new video#132
ryanwalters wants to merge 3 commits intomicnews:masterfrom
ryanwalters:master

Conversation

@ryanwalters
Copy link

Reset hasPlayed and adHasPlayed when loading a new video.

This fixes an issue where generatePrerollUrl only gets called on the first video loaded into the player (and probably other things that rely on those pieces of state).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant