roytam1
adc2398eb5
import changes from tenfourfox:
...
bug1414425, bug1418922, bug1422389, bug1423159, bug1399400(ported), bug1395508, bug1425000, bug1425780, bug1425612(ported), bug1426783
#438 : revert M1371908 for startup assertions and crashes
#457 : M1419363 + WeakPtr support from M1267918
2018-08-05 17:44:28 +08:00
Pale Moon
1241f512e2
Revert "HTML - img - srcset - does not react to resize/viewport changes"
...
This reverts commit 73cabd77301603ae05f6db1124231c1003ea4c72.
2018-07-25 10:03:25 +08:00
trav90
3f458bf899
Properly handle negative seeks when readyState is HAVE_NOTHING
2018-07-25 09:58:51 +08:00
trav90
e4eb14321c
Always use MediaSource seekable range regardless of readyState
...
If the liveSeekable attribute is set, then the seekable attribute must return the liveseekable range.
https://w3c.github.io/media-source/index.html#htmlmediaelement-extensions
2018-07-25 09:58:44 +08:00
Pale Moon
4bd157b33d
Workaround for cloned videos not retaining their muted state.
2018-07-25 09:56:22 +08:00
Pale Moon
b554b151da
Add a null check before NotifyMediaStreamTracksAvailable
2018-07-25 09:55:34 +08:00
janekptacijarabaci
1d0f51025e
HTML - media - setting currentTime when readyState is HAVE_NOTHING incorrectly throws an exception: Invalid State
2018-07-25 09:38:23 +08:00
trav90
c4287814d1
Use buffered range to determine next frame availability
2018-07-25 09:25:54 +08:00
trav90
eebc110658
Move AddOutputStream code below MediaDecoder::Load()
2018-07-25 09:25:10 +08:00
trav90
43875b6b1f
Drop Support for Content-Duration
...
This code is racey, extremely difficult to debug, and there is nothing that says its use must be enforced. The few sites that care about getting a duration without seeking to the end of the stream can index their Ogg files.
2018-07-25 07:50:34 +08:00
trav90
2fbf35f99a
Track "network duration" separately and mirror it to the MDSM
2018-07-25 07:49:14 +08:00
janekptacijarabaci
c1c638ab88
HTML - img - srcset - does not react to resize/viewport changes
2018-07-25 07:43:25 +08:00
janekptacijarabaci
d2ec833432
HTML - Video - blocking playback of videos until the page the video is in is visible
2018-07-25 07:41:32 +08:00
trav90
e67ad14740
[MSE] Set delaying-the-load-event-flag to false when attaching media source
2018-07-25 07:41:04 +08:00
trav90
75f0a0bd59
Early clean up the MediaDecoder in HTMLMediaElement.cpp
2018-07-25 07:30:27 +08:00
trav90
83bfd4c774
HTMLMediaElement::NetworkError() should clear mDecoder
2018-07-25 07:29:31 +08:00
trav90
8e2879959b
Activate autoplay when playing a media source
...
Bug 1189204
2018-07-25 07:29:10 +08:00
trav90
659022b636
Give WatchManager an owner thread and make sure everything happens there
2018-07-25 07:07:12 +08:00
trav90
717aade354
Explicitly initialize logging at the correct time
2018-07-25 07:06:32 +08:00
trav90
e640efcded
Redesign state watching to use a manager
2018-07-25 07:05:53 +08:00
trav90
df074df1ee
Use state mirroring for NextFrameStatus
2018-07-25 07:03:42 +08:00
trav90
1e249c36f8
Use state watching machinery for mReadyState updates
2018-07-25 07:03:38 +08:00
Pale Moon
d874d04fd1
Make HTML Media Elements' preload attribute MSE-spec compliant.
...
MSE sourced elements should ignore the preload attribute.
See http://w3c.github.io/media-source/#mediasource-attach (First note in the draft at time of commit)
We're treating the attribute as if it was not defined (defaults to `auto`).
We're also ignoring the default action pref for MSE (was already special-cased).
This resolves #981
2018-07-25 06:59:45 +08:00
trav90
d534c47cc5
Check (-1, -1) for invalid video size in HTMLMediaElement
2018-07-25 06:52:33 +08:00
janekptacijarabaci
7cf33c4329
CORS: A "data:" URL = the same-origin
2018-07-25 06:43:07 +08:00
trav90
b20b8dadab
Replace dom::TimeRanges with TimeIntervals object
2018-07-25 01:27:34 +08:00
trav90
50d8280608
Encrypted event should be fired once per initData
2018-07-25 01:21:41 +08:00
trav90
bd103574cf
Show audio as enabled when an audio track is present in stream
2018-07-25 01:19:11 +08:00
trav90
8d99c39267
Remove redundant mHasAudio/mHasVideo member
2018-07-25 01:18:39 +08:00
trav90
4b8c33e93a
Remove redundant mMediaSize member
2018-07-25 01:18:37 +08:00
trav90
7e5b4386f2
Combine MediaInfo and mp4_demuxer::TrackConfig
2018-07-25 01:18:31 +08:00
trav90
3ef89dda87
Fire loadedmetadata before encrypted event
2018-07-25 01:03:42 +08:00
wolfbeast
02112270b5
Remove EME (Encrypted Media Extensions) DRM support.
...
This resolves #102 .
2018-07-24 23:32:00 +08:00
wolfbeast
3203b56513
Port media.autoplay.* changes and enhancements.
...
This resolves #92 .
2018-07-24 23:30:29 +08:00
wolfbeast
d0b9edcb9c
Add media.default_volume preference
2018-07-24 23:16:55 +08:00
Moonchild
baf46a6bf1
Merge pull request #1 from mozilla/esr38: Esr38 upstream pull
2018-07-24 23:04:07 +08:00