• Resolved devansh1995

    (@devansh1995)


    hello team,

    thanks for the awesome plugin. Please check the link provided. In amp version on mobile, it keeps showing LOADING GOOGLE DRIVE FOLDER. If you will see a desktop version or non amp page, the plugin works perfectly and lists the files of that particular folder. Please help me with this ASAP. Thanks again.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @devansh1995

    Thank you for the support topic, it seems that the drive links are generated by custom javascript, AMP does not allow custom javascript on AMP pages, so the AMP plugin removes them to create a valid AMP page.

    From the link you shared, I can see your iframe link for the directory in google drive is working as expected (“CA INTERMEDIATE MOCK TEST PAPERS NOV 2020”) on AMP and non-AMP pages, I will suggest going with that approach.

    Thread Starter devansh1995

    (@devansh1995)

    So is there no way I can keep using the dans gdrive plugin which i was using earlier and was working good until i installed this amp plying?

    Plugin Support Milind More

    (@milindmore22)

    Hello @devansh1995

    As I explained before the plugin uses javascript, AMP does not allow custom javascript. however you can use amp-script component to add script.

    but using an iframe-based directory link was the easiest way to handle it so I suggested that approach.

    Also, the javascript which was added by the plugin also exposed your Google drive key’s on the site. so anyone who views the source of your site can easily see them which they can use to add or remove files to your drive.

    Thread Starter devansh1995

    (@devansh1995)

    Ok thanks a lot for the help and quick reply.

    Plugin Support Milind More

    (@milindmore22)

    I hope I answered all your queries, I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘A Plugin Keeps Loading’ is closed to new replies.