#
@@ -36,12 +36,23 @@ The path is simply the path under the docroot (i.e. the path as seen below `/usr
#
-It's preferred that media be HLS, however if that's not the case, then `embedBensPlayer` can be passed a mime-type to ensure things are declared to VideoJS correctly:
#
- <div style="width: 600px">
#
- <script type="text/javascript" src="https://videos.bentasker.co.uk/resources/embed/embed.min.js"></script>
#
- <script type="text/javascript">embedBensPlayer('2018/03/201803-trivium_oh_fuck.mp3','audio/mpeg');</script>
#
+It's preferred that media be HLS, however if `embedBensPlayer` will attempt to determine the mimetype based on the filename extension of the playpath it's provided.
#
+It can currently recognise
#
+If it cannot identify from the filename extension, then `video/mp4` will be assumed