32 Commits

Author SHA1 Message Date
Joey Parrish 7e6a0f38ff fix: Correct license headers in misc. files
This corrects/normalizes license headers in misc. files, such as
config files, docs, build tools, tests, and externs.  This does not
affect the compiled output, and is only done for consistency.

Issue #2638

Change-Id: I9d8da2de55243b08d7df2b743aac73c6f15e858a
2020-06-09 16:13:56 -07:00
Joey Parrish bdb58294b0 Fix accessibility issues
Found by WAVE Chrome extension:
 - Add lang to html elements
 - Do not use label for non-inputs
 - Add invisible labels on video inputs, just for screen readers

Closes #552

Change-Id: I68f96fd92d33b2927da5ec52fd6c22527635c795
2016-10-17 16:47:12 -07:00
Joey Parrish bda33cc9b6 Demo app v2
Still missing custom controls for live, but otherwise functional.

UI design and CSS based on work by Sam Dutton.

Change-Id: I0ee41254fb3b145822b018dff87aa583d6bef179
2016-03-30 00:36:32 +00:00
Joey Parrish 03df140fb8 https://goo.gl/RvMyq4 2015-11-25 12:14:04 -08:00
Joey Parrish e402206a01 Add encrypted Sintel asset
Change-Id: Id218732151e9ae8a30e82742f01637cc684b58f9
2015-11-11 00:09:51 +00:00
Jacob Trimble 5498123239 Added links to project and documentation to test app.
Change-Id: I6254b6da66687c84d5407635a67dee980f14ff3a
2015-11-05 22:47:38 +00:00
Joey Parrish 562c730f4f Remove force-prefixed and simplify polyfill install
This moves polyfill installation sooner and fixes #222

Change-Id: I6d9271056bb247b4771148f057a8fe7d158168d6
2015-11-04 17:50:33 +00:00
Joey Parrish 6242cb1b9b Drop bogus end tags in demo app HTML
Change-Id: I1e55f41c062de8dc486e25ba6359a3461bac3831
2015-11-03 15:53:33 -08:00
Natalie Harris 5eb9310d3a Chromecast demo. Issue #117.
Change-Id: Iae1f129d9f02ff47f09d9aacd60fb9a80ff8459c
2015-10-21 16:55:40 +00:00
Joey Parrish ef1098c416 Avoid mixed content on the poster
Change-Id: I4a933094cb274d3f0c6a858a5b72eb84f3dc9f20
2015-10-07 17:55:43 +00:00
Joey Parrish b197354a94 Pull the poster from appspot.
Change-Id: I4794733960cd6dd28c32ab87258af19bb90c2997
2015-10-06 13:11:02 -07:00
Joey Parrish 4cc4e96dbd Overhaul license comments and file annotations
* Updates all Copyright years to 2015.
* Adds licenses annotations to all JS.
* Makes all licenses identical to avoid repeated appearance in the
  compiled output.
* Drops fileoverview annotations, which do not affect docs output.
* The linter still requires fileoverview on externs.

This patch required a newer closure compiler, since the previous
version we used had a bug regarding license annotations that caused
the license comment block to appear in the output once per file
regardless of uniqueness.

Change-Id: I2e9272db680cba7ecc4613d97f1d3a94ac2244cc
2015-09-08 12:02:34 -07:00
Natalie Harris cdb2934a0f Add trick play to the test app. Issue #54.
Change-Id: Icb90675f1f8e7409f53b5a0d9aa50ad92c1e1f12
2015-06-23 14:16:36 -07:00
Natalie Harris a966ee2a23 Use checkboxes for test app cycle buttons.
Closes #46.

Change-Id: Ic325d2a816995f49d6083f7ef2da04766ca0d941
2015-06-18 22:10:56 +00:00
Timothy Drews 822bacd2a8 Allow PSSH override with custom WV license server.
* Enable overriding a WV license server URL from the UI with a
  PSSH override in an MPD.

Closes b/21441806

Change-Id: I01aa462c82b0fe2a6ade63dffd6803891cbab90f
2015-06-08 22:18:22 +00:00
Timothy Drews b534b70296 Add buffering info to the UI.
Adds "buffered ahead" and "buffered behind" indicators to the UI.

Issue #47

Change-Id: I3e6a60ea387e97c98003a47c0e3a599e907ee184
2015-06-08 09:40:54 -07:00
Natalie Harris 86ffb4fb2b Delete a group of streams from storage functionality. Issue #22
Change-Id: I0318da7adc9cfdb154fb826486718385a771f544
2015-04-06 20:25:12 +00:00
Joey Parrish 73afa67be7 Fork SegmentTemplate test asset as non-live.
The test asset as it exists upstream is styled as a live stream, in
spite of the fact that it is static content.  This creates a bad
experience in the test app when this asset is selected.  Fork it and
remove the update property that makes the Player treat it as live.

Change-Id: I8bc18c68186ccf9f51e9e031753bb39ed33e065a
2015-04-03 18:54:51 -07:00
Joey Parrish 7807b73e16 Expand HTTP section in test app.
This gives the HTTP dialog more horizontal space so that it looks
less awkward.

Change-Id: I16f22778952b5171b5a046edd556d60b35100b98
2015-04-02 18:02:44 +00:00
Joey Parrish 1c8e72dede Add new Sintel test asset in 4k.
Change-Id: I018efca4f95f0603190498b4e8360d30166223e4
2015-03-31 16:10:45 -07:00
Natalie Harris 6f573def03 OfflineVideoSource load and addition of offline to test app. Issue #22
Change-Id: Iad9737829c7404443849c48420d2d81d32857bf8
2015-03-27 19:57:49 +00:00
Joey Parrish cbd3bbd565 Fix self-closing tags in test app HTML.
The link and input tags are not supposed to have closing tags.

Change-Id: I66cd32ce5f8c45a17398b917230d98c3350a847a
2015-03-18 10:29:41 -07:00
Joey Parrish b796e9a55a Create custom player controls.
Also deprecates several methods on Player that are better accessed
directly on the video element.

Change-Id: I11e41ec7025aa2bc63e14febcadf42a1acc510eb
2015-03-10 19:40:57 +00:00
Joey Parrish 50de57efad Fix confusing asset name.
The asset itself has nothing to do with HTTPS, it is just not going to
fail over HTTPS as the original, externally-hosted on did.

Change-Id: I32d131085601ff10cff7cd3c14b384964b6ec6f5
2015-02-28 00:21:23 +00:00
Joey Parrish 0033fd3d3d Add a cycle video button.
This also refactors the cycle audio button to avoid duplication.

Change-Id: Idfbb2f024ce550d9ad1250064634f38f086c9cd6
2015-02-26 19:08:18 +00:00
Joey Parrish 997ae8f90c Add favicon.
Change-Id: Ie60938c6df8d3b9ac78c19211bbf988a460049e9
2015-02-24 11:25:34 -08:00
Joey Parrish f770a972ea Fix small mistakes in URLs and descriptions.
Change-Id: Ie665b8eea929e2c81a899882d6a3fe18563434b9
2015-02-20 13:58:07 -08:00
Joey Parrish 4f35f23fb5 Fix seeking dead-zone when data gets evicted.
Checks to see if a seek is within the buffered zone or not.
Clears the SourceBuffer if seeking outside the buffered zone.

This allows the efficient indexed lookup for inserted segments to still
be used while streaming, optimizes buffered seeks, keeps the playback
timeline sane in spite of the browser's eviction strategy, and obviates
the need for an earlier fix for some other MSE weirdness.

Closes #15.

Change-Id: I0226ebb679fab6739d3d0cc071e22f434983c9d2
2015-01-29 16:36:00 -08:00
Timothy Drews 08dacf268c Enable media and license delivery over HTTPS.
Using // instead of http:// will use whichever protocol the.
page uses.

* Modify the BaseURL tags within each MPD.
* Modify the URLs of MPDs on the test page.
* Modify the license server URLs in the application.

Closes b/19105239.

Change-Id: I643eccd18add659f3c2d6f553da45ca2bcece6dd
2015-01-26 15:08:48 -08:00
Joey Parrish bcecf08738 Generate a detailed version number at build time.
This gives our version numbering more granularity than just release
versions.  Uncompiled builds will show a "-debug" tag, and builds with
local changes will show a "-dirty" tag.

This also adds the version number to the test app UI.

Change-Id: Ia333c89de81df1e8faacd97a5f70405da0364bf7
2015-01-23 16:42:20 -08:00
Joey Parrish d4df6987e7 Shaka Player release v1.1 2015-01-15 15:12:58 -08:00
Joey Parrish b3d035be9f Shaka Player release v1.0 2014-12-19 14:26:19 -08:00