aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlmediaelement.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove seekable flagFernando Jiménez Moreno2018-10-261-21/+1
|
* Byte range request for HTMLMediaElement seekingFernando Jiménez Moreno2018-10-261-52/+118
|
* HTMLMediaElement seekingFernando Jiménez Moreno2018-10-261-5/+106
|
* Setter and getter for HTMLMediaElement.currentTimeFernando Jiménez Moreno2018-10-261-6/+55
|
* Update servo-media to fix intermittent timeoutsFernando Jiménez Moreno2018-10-241-1/+3
|
* Updated servo-mediaAlan Jeffrey2018-10-221-0/+3
|
* Implement basic <source> support for HtmlMediaElementest312018-10-121-3/+22
| | | | | | | | | | | | | | | The spec has a complicated algorithm for selecting a <source> element among multiple <source> children of a HtmlMediaElement where it loops over all of them, tries each and takes the first where "everything works out". This commit implements a much simpler and restricted approach by just taking the first <source> child, and if that fails, failing altogether, without looking at any further children. This is an improvement over the current status and makes gifv items on imgur playable, although it doesn't mean full <source> support.
* Add task source for media elementchansuke2018-10-101-14/+11
|
* Make sure we do not skip the HaveMetadata state. Fixes a bunch of testsFernando Jiménez Moreno2018-10-081-0/+5
|
* Handle Player errorsFernando Jiménez Moreno2018-10-081-14/+26
|
* Update servo-media: handle decoder errors and use safer/nicer player APIFernando Jiménez Moreno2018-10-081-4/+1
|
* Move player setup to common path, deal with setup error and clean debug msgsFernando Jiménez Moreno2018-10-081-12/+10
|
* Network EOF does't imply media processing EOSVíctor Manuel Jáquez Leal2018-10-081-27/+10
| | | | | | | | Since media processing is highly asynchronous, there is no need to match one event with the other. Then error handling is done when the player emits the EOS event. The have_metadata attribute is not required anymore.
* Fix HAVE_METADATA and HAVE_CURRENT_DATA state transitionsFernando Jiménez Moreno2018-10-081-37/+46
|
* Do not set metadata until we have enough dataFernando Jiménez Moreno2018-10-081-1/+1
|
* Set input sizeFernando Jiménez Moreno2018-10-081-1/+9
|
* Rustfmt and make tidy happyFernando Jiménez Moreno2018-10-081-33/+37
|
* Media element duration paramFernando Jiménez Moreno2018-10-081-9/+26
|
* videoWidth and videoHeight paramsFernando Jiménez Moreno2018-10-081-3/+35
|
* Cancel fetch in some media data processing stepsFernando Jiménez Moreno2018-10-081-3/+6
|
* Player pauseFernando Jiménez Moreno2018-10-081-2/+1
|
* Add show poster flagFernando Jiménez Moreno2018-10-081-5/+21
|
* Abort in-progress fetching process during load algorithmFernando Jimenez Moreno2018-10-081-5/+10
|
* Clarify some FIXMEs and bail out if we fail pushing data to playerFernando Jiménez Moreno2018-10-081-5/+14
|
* Move unsafe_no_jsmanaged_fields to traceFernando Jiménez Moreno2018-10-081-4/+1
|
* Do not share entire FrameRenderer with layout, only current frameFernando Jiménez Moreno2018-10-081-12/+78
|
* Player does not need to go inside a mutexed ArcFernando Jiménez Moreno2018-10-081-21/+13
|
* dom: media: implement LayoutHTMLMediaElementHelpers trait for LayoutDomVíctor Manuel Jáquez Leal2018-10-081-1/+19
|
* dom: add mediaframewebrendererVíctor Manuel Jáquez Leal2018-10-081-2/+13
|
* HACK: don't call media_source_failure_steps when eosVíctor Manuel Jáquez Leal2018-10-081-2/+2
| | | | | Because gstreamer's appsrc queue might be big enough to swallow the whole video holding the metadata extraction until EOS.
* dom: htmlmediaelement: add initial player bitsVíctor Manuel Jáquez Leal2018-10-081-28/+101
| | | | Also removes the usage of audio-video-metadata crate (?)
* add a fixme message of not implemented modeVíctor Manuel Jáquez Leal2018-10-081-0/+1
|
* htmlmediaelement: typoVíctor Manuel Jáquez Leal2018-10-081-1/+1
|
* Format script componentchansuke2018-09-191-85/+81
|
* implement window.stop, improve aborting document loadGregory Terzian2018-07-291-1/+1
|
* introduce "per task source" ignoring of tasksGregory Terzian2018-07-101-2/+2
|
* Remove gecko-media dependencyFernando Jiménez Moreno2018-01-191-24/+0
|
* Use GeckoMedia and only that on platforms that support itAnthony Ramine2017-11-241-13/+20
|
* Implement HTMLMediaElement::canPlayType using gecko-mediaPhilippe Normand2017-11-231-0/+17
|
* Merge request type and destinationKeith Yeung2017-10-231-6/+5
|
* Replace all uses of the `heapsize` crate with `malloc_size_of`.Nicholas Nethercote2017-10-181-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`.
* Fix commonmark Markdown warnings in docs, part 1Matt Brubeck2017-10-171-16/+16
| | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments.
* Remove use of unstable box syntax.Simon Sapin2017-10-161-2/+2
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Change AttrValue::Url to AttrValue::ResolvedUrlAnthony Ramine2017-10-151-9/+1
| | | | | There is actually only one attribute that can use that, the one for <body background>.
* Fix URL attributesAnthony Ramine2017-10-111-1/+10
| | | | | URL attributes should always use AttrValue::Url, and the input should be resolved against the document's base URL at setting time always.
* Implement a bit more of the "object" path when loading mediaAnthony Ramine2017-10-101-4/+19
|
* Properly abort any ongoing resource selection on loading a new mediaAnthony Ramine2017-10-101-8/+10
|
* Set have_metadata for audio elements tooAnthony Ramine2017-10-041-32/+4
| | | | | We don't store video-specific metadata anymore, and we don't ignore audio-specific metadata anymore. We now just acknowledge that we received some metadata.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-8/+8
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename DOMRefCell<T> to DomRefCell<T>Anthony Ramine2017-09-261-8/+8
| | | | | | | | I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things.