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

playVideo is not working in ionic v1 #162

Open
powerboom opened this issue Dec 12, 2018 · 1 comment
Open

playVideo is not working in ionic v1 #162

powerboom opened this issue Dec 12, 2018 · 1 comment
Labels

Comments

@powerboom
Copy link

I am using this plugin in my android APP build in ionic v1.
I used bower to install this plugin.
I followed all steps.
Video is perfectly loaded but when i try to play with an external button using function playVideo().
video is not playing.
Please help. do in need to set any permission from devleoper console ?

@brandly
Copy link
Owner

brandly commented Dec 14, 2018

hey, i recommend looking thru other ionic-related issues. ionic also has forums which i know occasionally discuss this repo. (i've never actually used ionic myself.)

when i try to play with an external button using function playVideo().
video is not playing.

on mobile sites, to prevent annoying ads from autoplaying and such, anything with video/sound requires direct user interaction in order to play. this means you can't automatically call playVideo() in your script, until after the video has been directly interacted with by the user. after they've tapped on the video, playVideo() should work fine.

do in need to set any permission from devleoper console ?

if this is an ionic question, hopefully those forums can help. i'm not sure.

good luck!

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

No branches or pull requests

2 participants