Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 840057 - [MMS][User Story] Video playback from message #9523

Merged
merged 1 commit into from May 7, 2013

Conversation

gnarf
Copy link
Contributor

@gnarf gnarf commented May 2, 2013

container.appendChild(wrapper);

attachmentMap.set(overlayElement, attachment);
attachmentMap.set(wrapper, attachment);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be refactored into a reusable component, or template?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it can be, but I really want to wait for the Attachment stuff for composer to land, and then there will likely be a better place to share this logic.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, that makes good sense to me. Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically, Right now the development of compose and view receive have been happening separately, I'd like to make them both use the Attachment stuff @danheberden started and @incompl is finishing where we can. I'll probably take inventory of all of that later next week assuming there aren't a ton of bugs still open for me.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not so sure this should be reused yet; this is simple enough, and this will likely be called several hundred times, so we can try to stay low-level

@borjasalguero
Copy link
Contributor

After talking with UX team and taking into account the restrictions related with video decoding, we are going to move forward with an icon for 'audio' & 'video' attachments, instead of the wrapper + overlay.

@VictoriaGerchinhoren We need your help here! ;)

dataArray.forEach(function(attachment) {
var mediaElement, textElement, url;
var mediaElement, textElement, overlayElement, url;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to remove the overlayElement right?

borjasalguero pushed a commit that referenced this pull request May 7, 2013
Bug 840057 - [MMS][User Story] Video playback from message
@borjasalguero borjasalguero merged commit 3dad665 into mozilla-b2g:master May 7, 2013
borjasalguero pushed a commit that referenced this pull request May 8, 2013
Bug 840057 - [MMS][User Story] Video playback from message(cherry picked from commit 3dad665)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants