Closed Bug 1210700 Opened 9 years ago Closed 9 years ago

[Stingray][fling-player][TV][2.5] Fling player control panel should hide and show based on user's key input

Categories

(Firefox OS Graveyard :: Gaia::TV::Fling, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Fischer, Assigned: Fischer, NeedInfo)

References

Details

(Whiteboard: [ft:conndevices][partner-cherry-picked<2015/11/10>])

Attachments

(2 files)

Fling player control panel should
(1) Hide automatically
(2) Show when user presses remote control's key
Assignee: nobody → fliu
Depends on: 1210702
Component: Gaia::TV → Gaia::TV::Fling
Attached file PR #32290 (deleted) —
Attachment #8670699 - Flags: review?(ehung)
Comment on attachment 8670699 [details]
PR #32290

It seems you didn't add too much features in this patch but split codes into some small files which I'm not sure if it's worth doing. 

As we discussed offline, we can't workaround Gecko issues in Gaia just for easier doing manual test, instead we should push Gecko guys to fix them and list them as your blockers if they really block your development.

Please also try new mozIntl api to your time formatting case as Zibi suggested in the mail. Thanks.
Attachment #8670699 - Flags: review?(ehung) → review-
Attachment #8670699 - Flags: review- → review?(ehung)
Please see the updated PR: https://github.com/mozilla-b2g/gaia/pull/32290
Because the mozIntl formats based on locale and my format case should disregard locale, would just leave the mozIntl there.
Comment on attachment 8670699 [details]
PR #32290

Luke, could you feedback on the change of simple_key_navigation.js? Thanks!
Attachment #8670699 - Flags: feedback?(lchang)
@Zibi
My case is that the current video time(hh:mm:ss) and the video total duration(hh:mm:ss) are placed on the two sides of time progress bar.
Since the control panel of my TV video player has no text but just icon, time bar and time digits(in hh:mm:ss), I am not sure my case fit the mozIntl.DurationFormat use case.
Could you please elaborate more about the mozIntl.DurationFormat use case ?
Comment on attachment 8670699 [details]
PR #32290

Just a few nits need to be addressed, please see my comments on Github.
I'd like to know Zibi's opinion on the playback time. I guess we need to localize it. Thanks.
Attachment #8670699 - Flags: review?(ehung)
@Zibi,
My case is that the current video time(hh:mm:ss) and the video total duration(hh:mm:ss) are placed on the two sides of time progress bar.
Since the control panel of my TV video player has no text but just icon, time bar and time digits(in hh:mm:ss), I am not sure my case fit the mozIntl.DurationFormat use case.
Could you please elaborate more about the mozIntl.DurationFormat use case ?
Flags: needinfo?(gandalf)
Comment on attachment 8670699 [details]
PR #32290

I left some comments on "simple_key_navigation.js". Please take a look. Thanks.
Attachment #8670699 - Flags: feedback?(lchang)
Attachment #8670699 - Flags: review?(ehung)
Attachment #8670699 - Flags: feedback?(lchang)
Comment on attachment 8670699 [details]
PR #32290

"simple_key_navigation.js" looks good to me. Thanks.
Attachment #8670699 - Flags: feedback?(lchang) → feedback+
Comment on attachment 8670699 [details]
PR #32290

r+ with nits addressed. Please file a follow-up bug for mozIntl thing. Thanks.
Attachment #8670699 - Flags: review?(ehung) → review+
Land to master: https://github.com/mozilla-b2g/gaia/pull/32290
Test: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=1a1c447e4516ca77b90569ccd6eab51a9b8f8c25
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Depends on: 1215004
Depends on: 1216058
Depends on: 1217287
Depends on: 1217288
Depends on: 1219542
Depends on: 1220058
Depends on: 1222364
Whiteboard: [ft:conndevices][partner-cherry-pick] → [ft:conndevices][partner-cherry-picked<2015/11/10>]
Depends on: 1237532
No longer depends on: 1237532
Depends on: 1240493
No longer depends on: 1240493
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: