mapbox/mapbox-gl-js

Do not handle video loading errors

Open

#5,646 opened on Nov 10, 2017

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (2,203 forks)batch import
api :memo:good first issue

Repository metrics

Stars
 (10,532 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

In src/util/ajax.js, getVideo seems not handle any loading errors.

And Also, I think it's useless to return video in the end. We should get video in callback.

https://github.com/mapbox/mapbox-gl-js/blob/master/src/util/ajax.js#L149

Contributor guide