aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/types.js
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2017-11-04 14:25:28 +1100
committerSam Potts <me@sampotts.me>2017-11-04 14:25:28 +1100
commit1cc2930dc0b81183bc47442f5ad9b5d8df94cc5f (patch)
tree349313769a5e3d786a51b45b0a5c849dc7e3211d /src/js/types.js
parent3d50936b47fdd691816843de962d5699c3c8f596 (diff)
downloadplyr-1cc2930dc0b81183bc47442f5ad9b5d8df94cc5f.tar.lz
plyr-1cc2930dc0b81183bc47442f5ad9b5d8df94cc5f.tar.xz
plyr-1cc2930dc0b81183bc47442f5ad9b5d8df94cc5f.zip
ES6-ified
Diffstat (limited to 'src/js/types.js')
-rw-r--r--src/js/types.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/js/types.js b/src/js/types.js
new file mode 100644
index 00000000..1f402a9b
--- /dev/null
+++ b/src/js/types.js
@@ -0,0 +1,10 @@
+// ==========================================================================
+// Plyr supported types
+// ==========================================================================
+
+const types = {
+ embed: ['youtube', 'vimeo'],
+ html5: ['video', 'audio'],
+};
+
+export default types;