GalleriaJS/galleria

Couple of problems with videos (one Bug, one improvement)

Closed this issue · 1 comments

Gr0m commented

Bug
.destroy() method does not clear _video._inst array and because of that you can not open the Galleria again after destroy (_parseData never completes second time you run() the galleria after destroy()).

Adding "_video._inst = [];" to destroy method fixes the problem.

Improvement
hqdefault.jpg (480x360) youtube thumbnail can be replaced with maxresdefault.jpg

Thanks for your plugin.