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

Kaltura player functionality overriden in ios ? #4124

Open
udithv opened this issue Feb 11, 2020 · 3 comments
Open

Kaltura player functionality overriden in ios ? #4124

udithv opened this issue Feb 11, 2020 · 3 comments

Comments

@udithv
Copy link

udithv commented Feb 11, 2020

My use case consists of playing the kaltura player as soon as it is loaded.

// Kaltura config

...
'readyCallback' : function( playerId ){
            var kdp = document.getElementById( playerId ); 
 
            
            if(playNow) {
                kdp.kBind('mediaReady', function () {
                    kdp.sendNotification('doPlay');
                });
            }

        },
...

The following works in all operating system and respective browsers like chrome, firefox etc...

But when I use an IOS system the video doesn't play on load instead the video is shown in paused state.

While using in iphone. Kaltura player is overriden by apple's default player..
Is there an way to fix this ?

@alexumn
Copy link

alexumn commented Feb 11, 2020

Try setting the Kaltura player UI variable EmbedPlayer.WebKitPlaysInline to true. Then the Kaltura player will appear inline on the page instead of going fullscreen to the iOS player. I'm not sure that will allow autoplay to function on iOS, but it will get you closer.

BTW, I suggest you think really hard about whether videos should autoplay in the first place, since that is a bad experience for screen reader users among other reasons. For more information see The A11Y Project: Quick tip: Don't auto-play video, music and more.

@kaltura-hooks
Copy link

Hi @udithv,

Thank for you reporting an issue and helping improve Kaltura!

To get the fastest response time, and help the maintainers review and test your reported issues or suggestions, please ensure that your issue includes the following (please comment with more info if you have not included all this info in your original issue):

  • Is the issue you're experiencing consistent and across platforms? or does it only happens on certain conditions?
    please provide as much details as possible.
  • Which Kaltura deployment you're using: Kaltura SaaS, or self-hosted?
    If self hosted, are you using the RPM or deb install?
  • Packages installed.
    When using RPM, paste the output for:
	# rpm -qa \"kaltura*\"
For deb based systems:
	# dpkg -l \"kaltura-*\"
  • If running a self hosted ENV - provide the MySQL server version used
  • If running a self hosted ENV - is this a single all in 1 server or a cluster?
  • If running a self hosted ENV, while making the problematic request, run:
	# tail -f /opt/kaltura/log/*.log /opt/kaltura/log/batch/*.log | grep -A 1 -B 1 --color \"ERR:\|PHP\|trace\|CRIT\|\[error\]\"

and paste the output.

  • When relevant, provide any screenshots or screen recordings showing the issue you're experiencing.

For general troubleshooting see:
https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.13.0/doc/kaltura-packages-faq.md#troubleshooting-help

If you only have a general question rather than a bug report, please close this issue and post at:
http://forum.kaltura.org

Thank you in advance,

@udithv
Copy link
Author

udithv commented Feb 12, 2020

@alexumn Thanks, this seems to stop it from going full screen in apple mobile. but I want the apple player to take control when I user clicks the fullscreen button in the player.
Is there any way to do that ?

Furthermore I am not trying to play the video once it is loaded using the autoplay variable in flashvars. But executing the "doPlay" command in the "on ready" callback. But this doesn't work and it requires me to click on the player to play the video.
Is there a way to override this ?

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

No branches or pull requests

3 participants