Closed (fixed)
Project:
HTML5 Media
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2011 at 11:04 UTC
Updated:
14 Mar 2012 at 02:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
travist commentedYes, definitely. I will be jumping back on this project within the next couple of weeks since I have been consumed with a different project at the moment.
Comment #2
bhosmer commentedRight on! I'm working on a patch to combine the displays. Good to hear from you Travis.
Comment #3
bhosmer commentedAs the result of the Brevard Drupal meetup, we worked on combining the display of fields for cross-browser compatibility. Chrome supports mp3 and ogg, firefox only supports ogg, and safari only supports mp3.
Two files are needed when adding an audio upload and now with this patch you upload both and the HTML is output like this:
With this patch it is important that the first file be the mp3 and then the second be the ogg, otherwise safari will not process the audio files.
Thanks to @ultimike for his help with this during the meetup.
Comment #4
bhosmer commentedThat first one was empty, this patch should work now:
Comment #5
travist commentedThanks for this. I will definitely look it over.
I did take a quick glance and noticed that the patch removes a lot of my recent work on implementing a standard media player for browsers with JS enabled. Was this intentional? If not, then I can do a quick diff between this and my current version to see how I can incorporate the changes.
Also, tell Michael (ultimike) that I said hello. :)
Travis.
Comment #6
bhosmer commentedI must not have seen the recent update you did. No, I did not intend to override the recent media player updates.
I'll pass on the greetings to Mike.
You'll see that I added a checkbox to the menu, "combine" that doesn't actually do anything yet. It was a work in progress just in case users might not want to actually combine the displays.
I wasn't sure about the best way to implement this.
Comment #7
ebieymjunior commentedDoes this module work with the Media module?
Thanks
Comment #8
travist commentedYes. It works nicely since all it really does is create a field formatter for displaying files as Media within a player. Since Media just uses fields, this module should work fine with the Media module.
Comment #9
ebieymjunior commentedThanks for the quick answer!
Comment #10
travist commentedSo, I know that this is an old thread, but I have made a big improvement to how this module handles both audio and video as if they are equal. Please try the latest version and let me know if that satisfies the work done with the patches made.
Also, I will be submitting a core patch within a week where this module will simply be a drupal 7 version of that d8 patch.