Add Media support.
requested to merge issue/lightgallery-3204181:issue/lightgallery-3204181-3204181-media_support_image_video_remotevideo into 8.x-1.x
Add support for Media (Images and Videos)
8.x-1.4 rebased.
Include patches from phjou