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

onEnd is not called #61

Closed
PhilippKrone opened this issue Jun 24, 2015 · 3 comments
Closed

onEnd is not called #61

PhilippKrone opened this issue Jun 24, 2015 · 3 comments

Comments

@PhilippKrone
Copy link

Hi,

onEnd seems not to get called when playing from an URL:

                        <Video source={{uri: ITUNES_JSON.previewUrl}} // Can be a URL or a local file.
                           rate={1.0}                   // 0 is paused, 1 is normal.
                           volume={1.0}                 // 0 is muted, 1 is normal.
                           muted={false}                // Mutes the audio entirely.
                           paused={!this.state.itunesPlaying}               // Pauses playback entirely.
                           resizeMode="cover"           // Fill the whole screen at aspect ratio.
                           repeat={false}                // Repeat forever.
                           onEnd={() => {console.log('test');}}/>

with the following URL:

  "previewUrl":"http://a1471.phobos.apple.com/us/r2000/004/Music/ec/88/d0/mzm.fqrwrunh.aac.p.m4a",

Any idea?

@isair
Copy link
Contributor

isair commented Jun 25, 2015

I did some quick debugging and it seems like notifyEnd: is not being called. However, attachListeners is.

@brentvatne
Copy link
Contributor

Should be fixed by @isair in #62!

@PhilippKrone
Copy link
Author

@isair @brentvatne big thanks to both of you! Thanks a lot for this fast bugfix :)

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

No branches or pull requests

3 participants