lazy load & preloadImages false

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #47933

    ben
    Participant

    Hi guys,

    so the issue I am facing is the app crashes a lot when loading quizzes which have large ammount of images & audio. After investigation I found this is because ion-slides preloads all slides when initiated.

    I added preload=”none” to my audo tags on my site, and that has resolved the audio from being preloaded in the app. However it still proloads the images and causes severe lag and crashes. I notices that lazy load and preload is not enabled on the ion-slides for questions in course-status.html. Is there a way I can add this to the slider so assests are loaded as viewed?

    I have tried adding options in the ion-slides tag:

    <ion-slides options=”slideOptions” dir=”{{config.settings.rtl ? ‘rtl’ : undefined }}” id=”quiz_questions” #QuizQuestions (ionSlideDidChange)=”onQuestionSlide()” autoHeight pager paginationType=”progress”>

    with corresponding parameters in course-status.ts, but it doesnt work.

    Please could you guide me so it does not keep crashing.

    Thank you,

    Ben

    #47997

    Harry
    Keymaster
    This reply has been marked as private.
    #48090

    ben
    Participant
    This reply has been marked as private.
    #48177

    Harry
    Keymaster
    This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.