Not see on mobile IOS anything until it's plays.

  • hi all.

    Problem with ios10.


    http://eromhsurapps.com/test/Javi/360/krPanoDef/


    I dont know why, i only see black screen until i touch the screen and load the video. Once i change the video.src it plays the video and i see perfect del videopano. But until i do it ... i dont see the poster. Just black screen.

    i am using the videplayer_basic_source and i am working from there to do my own develop. i need work just with javascript and as less xml used better for me and the project. *wink* *wink*

    In desktoip it works fine and i see the "poster". But not in mobile (IOS10).

    Any idea. *sad* *sad* *g* *g*

    Thanks.

  • Hi,

    I don't know if what I am going to say can be the culprit, but you don't have in your code these two functions defined: videointerface_addsource, videointerface_play

    Try to solve this problem and see what happens

  • FIXED!

    autoplay in mobile.


    if (device.desktop) {
    //video.autoplay = "autoplay";
    video.src = "video/video-1920x960.mp4"
    } else {
    video.autoplay = "autoplay";
    video.src = "video/video-1024x512.mp4"
    }

    although you must use touch_workaround later to play video ... at begining you must set autoplay true devices *tongue* *tongue* *tongue* *tongue* *tongue*


    Thanks to all.

    Regards.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!