xbgmsharp/piwigo-videojs — pull request #11 by norbusan (2013-07-16 07:14:22+00:00)
Title: Create array with mime types as keys

Hi,

I have modified the code so that the array now contains the files with the mime types (video/ogg etc) as keys. These mime types can then be used in the video.js "type='....' part.

I tried to reuse the vfs_extensions that are defined two times in the code, but not even global $vfs_extensions; did work, so I followed your lead and defined the $vfs_types also inline in the function.

Thanks

Norbert