video.play() function isn't working on ipad.

  • hi~

    i have question about play() function is working on ipad?


    my source is here >>

    this.videoClass = this.krpano.get('plugin[video]');
    this.videoClass.play();
    << -----


    this code is working on iphone. but ipad isn't working. that's ipad problem or krpano video plugin?
    ipad play is only working button in videointerface.xml.


  • Hi,

    that's an iOS limitation (Android has it too):

    Video and Audio files are requiring an user interaction like a click/touch to be able to start playing.

    That means the play call works only when it comes from the an onclick event.

    Best regards,
    Klaus

  • Hi,

    that's an iOS limitation (Android has it too):

    Video and Audio files are requiring an user interaction like a click/touch to be able to start playing.

    That means the play call works only when it comes from the an onclick event.

    Best regards,
    Klaus

    Hi,

    that's an iOS limitation (Android has it too):

    Video and Audio files are requiring an user interaction like a click/touch to be able to start playing.

    That means the play call works only when it comes from the an onclick event.

    Best regards,
    Klaus

    I want the video to play by function not click event,how to do it

  • Hi,

    that's an iOS limitation (Android has it too):

    Video and Audio files are requiring an user interaction like a click/touch to be able to start playing.

    That means the play call works only when it comes from the an onclick event.

    Best regards,
    Klaus


    I want the video to play by function not click event,how to do it

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!