8000 Fix missing Poster functionality and Autoplay for cld-video by patrick-tolosa · Pull Request #141 · cloudinary/cloudinary-vue · GitHub
[go: up one dir, main page]

Skip to content

Fix missing Poster functionality and Autoplay for cld-video #141

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

Merged
merged 1 commit into from
Jul 11, 2021

Conversation

patrick-tolosa
Copy link
Contributor

Brief Summary of Changes

This PR fixes two different problems in the Vue SDK:

  1. Poster images were being calculated incorrectly
  2. Autoplay functionality was not working correctly

What does this PR address?

Are tests included?

  • Yes
  • No

What was changed

An entire section dealing with poster calculation was missing, some refactoring was done to discover the missing bits, and a test was added to ensure the fixed implementation works.
The fix involves calculating child transformations in the poster calculations, and fixing the format types

For the Autoplay, after some experimentation, it was discovered that when Autoplay and Muted are not explicitly set on the Element, autoplay functionality does not work properly.
This fix was teste don a stand-alone test-app to ensure it does solve the autplay issue.

Please ignore all the ./dist files in your. review.

@patrick-tolosa patrick-tolosa requested a review from strausr July 8, 2021 16:02
@patrick-tolosa patrick-tolosa merged commit 3fac107 into master Jul 11, 2021
@patrick-tolosa patrick-tolosa deleted the fix/fix-poster-and-autoplay-in-video branch July 11, 2021 07:34
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.

2 participants
0