cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11146) getDuration only available after play
Date Wed, 18 May 2016 01:43:12 GMT

    [ https://issues.apache.org/jira/browse/CB-11146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15288063#comment-15288063
] 

ASF GitHub Bot commented on CB-11146:
-------------------------------------

Github user cordova-qa commented on the pull request:

    https://github.com/apache/cordova-plugin-media/pull/94#issuecomment-219903150
  
    Cordova CI Build has one or more failures. 
    
    **Commit**     - [Link](https://github.com/apache/cordova-plugin-media/pull/94/commits/8411819054e37b5b5d9d4d800a72714db7737e0b)
    **Dashboard** - [Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21/)
    
    | Builder Name  | Console Output | Test Report | Device Logs  |
    |     :---:     |     :---:      |   :---:     |     :---:    |
    | [Windows 8.1 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-8.1-store/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-8.1-store/console)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-8.1-store/testReport/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-8.1-store/artifact/)
|
    | [Windows 10  Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-10-store/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-10-store/console)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-10-store/testReport/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-10-store/artifact/)
|
    | [Windows 8.1 Phone]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-8.1-phone/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-8.1-phone/console)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-8.1-phone/testReport/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=windows-slave,platformName=windows-8.1-phone/artifact/)
|
    | [iOS]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=mac-slave,platformName=ios/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=mac-slave,platformName=ios/console)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=mac-slave,platformName=ios/testReport/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=mac-slave,platformName=ios/artifact/)
|
    | [Android Mac]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=mac-slave,platformName=android/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=mac-slave,platformName=android/console)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=mac-slave,platformName=android/testReport/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/21//label=mac-slave,platformName=android/artifact/)
|
     



> getDuration only available after play
> -------------------------------------
>
>                 Key: CB-11146
>                 URL: https://issues.apache.org/jira/browse/CB-11146
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>            Reporter: David Peacock
>              Labels: android, iOS, pendingPR, triaged
>
> In the Media plug-in with iOS the getDuration is only available once play has been called.
 This is because the callback to set the duration is only ever triggered from play.
> Previously you could call play/stop immediately to get around this, this no longer works
as the stop will not invoke unless the sound actually is playing.  This wasn't ideal anyways
as the documentation shows you should only have to create a new Media object and then getDuration
should be available to be used.  Should initialize duration on create.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message