Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load external script https://www.youtube.com/iframe_api #2637

Open
Vojtech-Janku opened this issue Nov 10, 2024 · 1 comment
Open

Comments

@Vojtech-Janku
Copy link

Error:

Failed to load external script https://www.youtube.com/iframe_api
Failed to start AboveVTT on https://www.dndbeyond.com/characters/114762958?abovevtt=true
Error: Failed to load external script https://www.youtube.com/iframe_api
    at script.onerror (chrome-extension://ipcjcbhpofedihcloggaichibomadlei/Startup.js:333:14)

Environment:

{"avttVersion":"1.27","browser":{"name":"Chrome","version":"130","mozilla":false,"chrome":true,"msie":false,"opera":false,"safari":false}}

Other Logs:


LOG 2024-11-10T14:08:22.402Z
      start_above_vtt_common

LOG 2024-11-10T14:08:22.402Z
      DDBApi.fetchCampaignInfo

LOG 2024-11-10T14:08:22.401Z
      harvest_campaign_secret found it in localStorage

LOG 2024-11-10T14:08:22.401Z
      startup_step Starting AboveVTT for character
Copy link

Potential duplicates:

MonstraG added a commit to MonstraG/AboveVTT that referenced this issue Feb 2, 2025
Not all campaigns use and require youtube to operate. If youtube is blocked in your country, this will fail to load, killing the startup.

To avoid that, we just console error the failure instead.

This should probably resolve all those failed to load youtube duplicates.

Refs: cyruzzo#2637 (and others)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant