Sie sind nicht angemeldet.

1

Mittwoch, 15. Juli 2015, 08:25

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.



2

Mittwoch, 15. Juli 2015, 10:04

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

freezyh

Anfänger

Beiträge: 15

Wohnort: China

Beruf: study

  • Nachricht senden

3

Montag, 14. September 2015, 03:21

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

freezyh

Anfänger

Beiträge: 15

Wohnort: China

Beruf: study

  • Nachricht senden

4

Montag, 14. September 2015, 03:28

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