GithubHelp home page GithubHelp logo

tobsch / mediaelement_rails Goto Github PK

View Code? Open in Web Editor NEW
106.0 106.0 49.0 1.32 MB

An easy as hell mediaelementjs rails integration for asset pipeline enabled apps...

License: MIT License

Ruby 8.07% JavaScript 75.77% HTML 16.11% CSS 0.05%

mediaelement_rails's People

Contributors

fusion2004 avatar itgod avatar jrmyward avatar nbibler avatar petebrowne avatar rgaufman avatar rickharris avatar sergxiiith avatar sleepycat avatar theaxel avatar tobsch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mediaelement_rails's Issues

Chrome and firefox can't work well for m3u8

I'm trying to use this gem for m3u8 in rails.
But it doesn't work well chrome and firefox. Safari is working well.

I added gem, application.js and application.css. If I want to use it for m3u8, do I have to do anything more?

Please advise me. Regards

IE8

mediaelement works fine on IE8 in dev mode. but once it is precompiled for production, it fails on IE8. javascript unspecified error thrown when you click to play.

open in fancybox

I have this player working fine in one Rails 3.2 app but I want the player show up in fancybox, Is this possible? If yes, could you please put the js example?

Autoplay YouTube embed video

Hi,

is this possible:
Autoplay by YouTube video?

I try:
<video autoplay ...>
and
Youtube-Link with &autoplay=1

Thanks,
Ingo

Asset depends on 'mediaelement_rails/bigplay.svg' but not declared the dependency

After adding:

gem 'sprockets_better_errors'

To my gem file, it is identifying this problem with this gem:

Asset depends on 'mediaelement_rails/bigplay.svg' to generate properly but has not declared the dependency
Please add: `//= depend_on_asset "mediaelement_rails/bigplay.svg"` to '/usr/local/lib/ruby/gems/2.0.0/gems/mediaelement_rails-0.5.1/app/assets/stylesheets/mediaelement_rails/mediaelementplayer.css.erb'

Media Element not working in production

I'm using the gem, and it works smooth in development, but whenever I switch to production it doesn't work. Neither the success nor failure callback is fired when attaching it to a jquery element, however it also doesn't give an error. Messing with the options for how the JS-file is compiled it seems it's related to the compilation and combining of the javascript file, however this doesn't seem to make much sense.

Is this a common error, or what could have caused it?

Safari hangs with MediaElement 2.6.5

Safari 5.1.6 and 5.1.7 (current, stable) both hang for about 5 seconds and the Safari nightly build hangs indefinitely - delaying the page load/ready event - with the current gem version (0.3.2) that contains the MediaElement 2.6.5 library. The recent MediaElement 2.9.1 pull request (already applied to master) fixes the issue.

It'd be advisable to release a new gem version, soon.

Latest Chrome browser could not autoplay youtube video on player

Hi,
i notice chrome browser: Version 46.0.2490.80 (64-bit) that i have somehow
got updated automatically by Google and now my player does not autoplay anymore for youtube video.
Other browser like Safari and Firefox works with the same auto play code.

On the chrome browser, the code below:

player.load();
player.play();

did not get trigger automatically but other browser auto play the youtube videos.
But when i manually click on the youtube video, it will play on Chrome browser.

I also notice that it will try to auto play the video on chrome but show a gray screen video on the screen instead of playing the youtube video.

Any idea why? or pointers? Thanks again for this awesome open source player :- )
I'm using mediaelement_rails VERSION = '0.8.0'

v0.8

  • Updated MediaElement.js to 2.14.2

help

can someone give an example or demo using this? I installed the gem but don't know how to actually use it in my program.

SASS how to

I am using application.css.scss in my rails application. so I can't require the file.so I used @import. The main js file imported successfully but the file in subfolder ('mediaelement_rails/mejs-skinsv') is not loading..Any remedy?

Upgrade mediaelement.js to atleast 2.11.1

The current version of medielement.js(2.11.0) used by this gem is a year old!
I need this update because of the .remove() function is throwing up the
'Error: mejs.players.splice is not a function' error.

The bug fix for this was released in medielement.js 2.11.1

Trouble installing gem

$ gem install mediaelement_rails -v '0.3.2'
Fetching: mediaelement_rails-0.3.2.gem (100%)
ERROR: Error installing mediaelement_rails:
invalid gem format for /usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/cache/mediaelement_rails-0.3.2.gem

deleted /usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/cache/mediaelement_rails-0.3.2.gem few times, same effect.

$ ruby --version
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

$ gem --version
1.8.12

$ uname -a
Darwin iRuslan 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64

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.