Skip to content
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

fix(iOS-video): display video adaptater on iOS #784

Merged
merged 1 commit into from
Nov 18, 2022

Conversation

mkubdev
Copy link

@mkubdev mkubdev commented Nov 18, 2022

Changes

  • Update playinline to playInline to be able to read the video panorama on iOS without using the native iOS viewer.

Description

There is a bug for iOS devices using the video plugin due to the missing attribute playinline during the html5 video tag creation #L161.

Tests examples of the issue from the documentation using an iPhone on Chrome app:
IMG_1370

Fix

I don't find good resources covering the issue. But it look like the attribute playinline should be in camelCase #L161..

This changes fix the issue as i was able to run video on iOS as on Android.

Will take time to upload a video demo..

Merge request checklist

  • I created my branch from dev and I am issuing the PR to dev.
  • All tests pass. If needed, new unit tests were added (only for utils).
  • If needed, the types have been updated.
  • If needed, the documentation has been updated.

* Update `playinline` to `playInline` to be able to read the panorama on iOS without using the native iOS viewer
@mistic100
Copy link
Owner

Sounds about right https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement (it is not documented but listed in the compatibility table)

@mistic100 mistic100 merged commit f763c22 into mistic100:dev Nov 18, 2022
@mistic100 mistic100 added this to the 4.8.1 milestone Nov 27, 2022
@github-actions
Copy link

This feature/bug fix has been released in version 4.8.1.

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