Skip to content

Fallback icon import to jsDelivr for better CDN resilience #1774

@BesrourMS

Description

@BesrourMS

Last week, when the CDN experienced downtime, we temporarily switched from cdn.vidstack.io to jsDelivr. Everything worked well except for one issue with the player bundle served from https://cdn.vidstack.io/player.

It appears the player still imports icons directly from your domain:

import "https://cdn.vidstack.io/icons";

Would it be possible to update this to use jsDelivr instead, for example:

import "https://cdn.jsdelivr.net/npm/media-icons@latest/dist/cdn.js";

This would make the player more resilient, so if there are any future issues with cdn.vidstack.io, the CDN setup would continue working without interruption.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions