Problem/Motivation

Let's get out a D8 version of Media Recorder! Since media is currently still in heavy development, we should focus efforts on just getting a form element and file field widget working for now, then look into the best way to add WYSIWYG/entity browser support.

Proposed resolution

Things to definitely keep:
Media recorder FAPI element
File field widget

Things that we probably can/should drop:
Media Browser (this is gone in D8 media)
Flash fallback? (depending on when we release)
Libraries/media/file_entity dependencies

New features:
Make media recorder element an HTML5 custom element (web component)? Use xtags or polymer!
Improve record streaming and file save ops.
Re-evaluate current js libraries.

Remaining tasks

todo

User interface changes

todo

API changes

todo

Comments

kenianbei created an issue.

Sivaji_Ganesh_Jojodae’s picture

I have this module ported to D8 for one of my clients. The code can be found at https://github.com/sivaji/Drupal-Media-Recorder . Needs more testing & QA checking before considering for production usage.

kenianbei’s picture

Sounds good as I'm no longer using this module in any of my projects... I've added you as a project maintainer.

Sivaji_Ganesh_Jojodae’s picture

I will commit the code & make a new release later this weekend. Thank you.

Rajeshreeputra’s picture

Hello DevJoJodae, have you committed the code in 8.x branch or is the work is in progress. Let me know if I can help here.

chrischras’s picture

Hello, I would like to use this module in Drupal 8 for my master's thesis project.
Will it be available soon?

Sivaji_Ganesh_Jojodae’s picture

@chrischras & @Rajeshreeputra, it seems I've not committed the code. You can clone / download from the links below,

https://github.com/sivaji/Drupal-Media-Recorder.git

https://github.com/sivaji/Drupal-Media-Recorder/archive/refs/heads/8.x.zip

Thank you!

chrischras’s picture

@DevJoJodae thank you very much, it woks great, besides some warnings (deprecated function, ...).

The only thing is It doesn't work if I have two fields using the media recorder, e.g. Audio field and Video field. Then only the first one works and the second one doesn't.
Do you know this problem?

I could use only one field for either Video or Audio, but I have no Player which can play both formats.
Which player could I use to play both the audio or the video file?

Thanks in advance.