Code Monkey home page Code Monkey logo

html5media's People

Contributors

kant avatar zerocrates avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

html5media's Issues

The player button tooltips cannot be localized.

The player button tooltips like i.e "Play/Pause" or "Mute Toggle" are not translated.
The mediaelement js handles i18n translation (i.e. the strings are returned like this: mejs.i18n.t('Mute Toggle') ), but I have no idea where the translation of the string should be and how to set the desired language.

Allow adding Media Element plugins?

Hi! I'm using this plugin on an Omeka site where we'd like to add some additional Media Element plugins. I've managed to make this work on my end by:

  • Adding the plugin CSS & JS in my own custom Omeka plugin via hook_public_head and hook_admin_head.
  • Extending Html5Media plugin to add an extra Custom mediaplayer settings config option which passes text into the JS configuration object for the mediaplayer element.

I'd love to submit a PR for some of this functionality but wondering what the best approach would be? I could just submit a PR for the Custom mediaplayer settings` config option, but I wonder if it might be more usable for less tech-savvy folks to add a "Media Player plugins" config section where users could toggle on and off different plugins?

Look forward to hearing your thoughts!

Use <audio> tag within metadata?

For a project I am trying to include wav files for pronunciations of specific words within the metadata of items and within Exhibits. I want to keep on html filtering, and that removes the audio tags.
When I attach the wav files to items as files they are not labeled in any way, which is not helpful for pronunciations.
Is there any way I can use the HTML5 tags not just for attached files but also in metadata? Can I use the "file" "title" as a caption for the file on the item page?

.mov files

When uploading .mov files, the player is unable to load / play the file. Instead the following html is displayed:

image

'Undefined index' notice when playing audio files

Opening audio file (i.e. mp3), I get the following message above the player:

Notice: Undefined index: responsive in /home/[...]l/plugins/Html5Media/Html5MediaPlugin.php on line 188

The line 188 of the file looks like this:

if ($options['responsive'])
            $mediaOptions .= ' style="width:100%;height:100%"';

and IMHO should be like this:

if (($type == 'video') && ($options['responsive']))
            $mediaOptions .= ' style="width:100%;height:100%"';

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.