Closed
Bug 890556
Opened 13 years ago
Closed 13 years ago
Draggable handles for html5 media do not exist on initial load
Categories
(Webmaker Graveyard :: popcorn.js, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: thecount, Assigned: mjschranz)
Details
Attachments
(2 files)
Add a clip, I used http://ia601200.us.archive.org/29/items/Children_Must_Learn_The/0883_Children_Must_Learn_The_14_22_40_00_3mb.ogv
Expected: a media clip on the stage with draggable handles.
Actual: it is stuck where it is.
If you save and refresh it'll be fine.
| Reporter | ||
Updated•13 years ago
|
Assignee: nobody → scott
| Assignee | ||
Updated•13 years ago
|
Assignee: scott → schranz.m
| Assignee | ||
Comment 1•13 years ago
|
||
Turns out this is a bug with Popcorn.smart. See https://github.com/mozilla/popcorn-js/blob/master/modules/player/popcorn.player.js#L396-L405
This code basically overwrites anything that might have already been inside the containing element we pass to smart.
I'm wondering if these draggable/resize handles ever worked with HTML5 media.
Status: NEW → ASSIGNED
Component: Popcorn Maker → popcorn.js
| Assignee | ||
Comment 2•13 years ago
|
||
I can add tests for this if you feel the need. Probably should.
Attachment #772110 -
Flags: review?(scott)
| Reporter | ||
Comment 3•13 years ago
|
||
Comment on attachment 772110 [details] [review]
https://github.com/mozilla/popcorn-js/pull/331
The new draggable handles do not work. The click events did not get cloned with it.
Would love it if we found a solution that didn't need to clone, and worked in IE9.
Attachment #772110 -
Flags: review?(scott) → review-
| Reporter | ||
Comment 4•13 years ago
|
||
I wonder if IE9 is going to be fine with this: http://pastebin.com/FXdZkmSU
| Assignee | ||
Comment 5•13 years ago
|
||
Comment on attachment 772110 [details] [review]
https://github.com/mozilla/popcorn-js/pull/331
Updated.
Attachment #772110 -
Flags: review- → review?(scott)
| Reporter | ||
Comment 6•13 years ago
|
||
Comment on attachment 772110 [details] [review]
https://github.com/mozilla/popcorn-js/pull/331
Close, but the new container needs so css, or else the video's aspect ratio and height are off.
Attachment #772110 -
Flags: review?(scott) → review-
| Assignee | ||
Updated•13 years ago
|
Attachment #772110 -
Flags: review- → review?(scott)
| Reporter | ||
Updated•13 years ago
|
Attachment #772110 -
Flags: review?(scott) → review+
Comment 7•13 years ago
|
||
Commit pushed to master at https://github.com/mozilla/popcorn-js
https://github.com/mozilla/popcorn-js/commit/bb226a9a541e5d1f0b5343ffadf0c67bcef431b6
Fix Bug 890556 - Popcorn.smart shouldn't overwrite any existing child elements inside it's container when creating HTML5 media.
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
Comment 8•12 years ago
|
||
Updated•12 years ago
|
Attachment #8454167 -
Attachment description: https://github.com/mozilla/popcorn-js/pull/402 → This is a minor patch to fix an issue with broken player unit test.
Attachment #8454167 -
Attachment is patch: true
Attachment #8454167 -
Attachment mime type: text/x-github-pull-request → text/plain
Comment 9•12 years ago
|
||
Comment on attachment 8454167 [details] [diff] [review]
This is a minor patch to fix an issue with broken player unit test.
>https://github.com/mozilla/popcorn-js/pull/402
| Assignee | ||
Comment 10•12 years ago
|
||
George,
Could you file a new bug describing the issue you've found and submit your patch there?
Thanks for the patch! Awesome.
Comment 11•12 years ago
|
||
Does this really deserve a new ticket? I am not sure why the original fix was accepted because it does not pass the unit tests in "modules/player/popcorn.player.unit.html".
| Assignee | ||
Comment 12•12 years ago
|
||
Every change deserves a bug to be filled. That we can can track changes that were made in the future incase we need to understand why something was done.
The normal course of action would be to reference this bug in that new ticket.
You need to log in
before you can comment on or make changes to this bug.
Description
•