-
Notifications
You must be signed in to change notification settings - Fork 4
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
Method to just directly start playing video? #1
Comments
Hey there. After you call the setup and init methods the play button should handle that for you. The Init methods in this case (video) are: setupCordovaMediaPlayer(playerWidth,playerHeight,defaultTitle, defaultText,defaultThumb); initMediaPlayerForVideo("Video Title", But – if you want to start the playback programmatically I think this method should do it (again, post Init method): toggleMediaPlayback(); Does that help? From: hsdk123 [mailto:[email protected]] Hi, I was just wondering if there's any kind of play function to just directly start the video file. — |
Thanks, those 2 methods worked just great :) |
Glad to hear!
On May 31, 2014, at 6:50 AM, "hsdk123" <[email protected]mailto:[email protected]> wrote: Thanks, those 2 methods worked just great :) — |
Hi, I was just wondering if there's any kind of
play
function to just directly start the video file.The text was updated successfully, but these errors were encountered: