Though not part of the library, this corrects/normalizes the license
headers in the demo app to be consistent with those in the library.
Issue #2638
Change-Id: I4546c4c6970d72ff71a37489fd582623bd6e2ca3
This adds an option for searching for VOD. It also changes the Live
search option to be a drop-down instead of a toggle, so as to prevent
users from trying to search for assets that are both Live and VOD.
Change-Id: Ib03a64128aea6d06baff23fc1d909090fdf7ef79
No asset was using "Unknown" as a source, and it was taking up
space in the search drop-downs and being confusing. It was only used
when loading unknown assets from the URL... but then, the source of
an asset loaded from the URL is more or less irrelevant, so that
doesn't really matter.
Change-Id: I1e20c717351aaf66f8a2b3fa25422ed884c7fd80
Pending resolution of Axinom/public-test-vectors#17 (HTTP 403 on both
streams), these live streams must be disabled.
Bug: 28087927
Change-Id: I266b95328ea23f9bdc3a51aeb298bd314a844504
This asset is unavailable and I can find no replacement test content
from Wowza. The link we had to the origin of the old test content now
forwards to a Bitmovin demo.
Bug: 28087927
Change-Id: I15b39eb022a6b31c7556f6f40268e95acfdc8092
Different ads have been added to three assets.
Demo search CSS has been adjusted a bit for better
experience.
Feature name has been changed from "AD" to "ADS" to
reflect the fact that a single asset can have more
than one ad.
Issue #2222:
Change-Id: I12a63b813fb4bac79362f1689b485a824f5a9682
Raw, containerless streams can't be played yet (#2337), but our logic
for skipping or rejecting them was broken. This broken logic affected
the whole v2.5.x series of releases up to and including v2.5.8.
This fixes the logic and improves it in several ways:
- Skip streams that can't be played, instead of rejecting the whole
master playlist
- Handle raw AC3 and EC3, in addition to MP3 and AAC
- Handle and skip WebM+HLS in the same way
- Add the playlist and segment URLs to
HLS_COULD_NOT_PARSE_SEGMENT_START_TIME errors
This allows us to re-enable the Apple HLS+TS asset as video-only.
Change-Id: Ia00857d87b085aa7e2b810b0b949993cebabe4ba
This makes the HLS parser recognize raw AAC, but refuse to play it.
It will not play correctly until we have full support for
containerless formats at the MediaSource level.
Closes#1083 (raw AAC, can't do anything more for this right now)
Issue #2337 (full support for containerless formats in general)
Change-Id: I50c7f06a1aa08d515f4d9f74603954a6d015dc29
The audio from this clip ends about 9 seconds early and so can't be
played to the end. This asset was previously disabled without a
comment about why. This now has a clear comment.
Change-Id: I63607837aa8a18928a778ccf4301c1b0510da376
Several disabled assets can now be played, and so are re-enabled.
Some others are buggy and had to be newly disabled.
This also adds a new Nimble Streamer asset, updates comments around
disabling, and corrects one title.
See also Dash-Industry-Forum/dash-live-source-simulator#91 and
Axinom/public-test-vectors#16.
Change-Id: I3a112d37eb1b3a79fc8849c5480bc38b7a433022
This reflects changes in Google's policy on JavaScript license
headers, which should be smaller to avoid increasing the size of the
binary unnecessarily.
This also updates the company name from "Google, Inc" to "Google LLC".
Change-Id: I3f8b9ed3700b6351f43173d50c94d35c333e82b4
Note that the captions on some of these assets do not display properly
at the moment, due to bugs on our part.
Issue #2035
Change-Id: I5cc8893b824af6ac27f8895565ed1dfbb970b039
One of the ending comments seems to have gone away during a refactor.
This adds it back, and cleans up all the blocks with useful comments.
Change-Id: I29d093255805d806bb9957896ed348b0fdf8649e
This is a fully automated change. The linter will fail because the
extra indentation caused line-length errors. These won't be fixed
automatically. They are fixed in a follow-up to make this one fully
automated.
Change-Id: I4d8cf9c998985add2bcd24a81c8d65495668c4f3
This changes the demo to store the currently-playing asset inside
the hash, and reload that asset if it's in the hash parameters at
page load time.
Change-Id: I6cce6ad8cfd9e941965446ee027435d47b9f479f
There is currently a bug with VTT subtitles in HLS. We plan on fixing
this bug in the future, but for v2.5, we need to switch out the
front-page assets to put our best foot forward.
Thus, this is switching out the HLS version of Angel One to the DASH
version, and the DASH version of the Shaka Player History livestream to
the HLS version. Thus, the asset with a lot of subtitles can be DASH,
while the asset with no subtitles can be HLS.
The other versions of the assets still exist; they are merely now
relegated to the search page.
google/shaka-packager#573
Change-Id: Icd2518b7caa1fe91d279e279a881c985b4acbc39
In these two environments, we must convert ES6 code to ES5. Rather
than work around specific cases, we should let babel convert all test
code into ES5.
This fixes new problems on IE and Tizen introduced with the new demo,
and reverses some work-arounds that were used before.
Change-Id: I6be5ed2cd271e88bc7ebc1e878acbec6bbc21a2e
This is a complete replacement for the old demo page, made to be more
modern-looking and easier to maintain. It contains new features such as
remembering the URIs you provide for custom assets, and searching through
the default assets by feature.
This demo page is not quite ready for release yet, but it's getting close.
Change-Id: Iad01d1fc02c3cd238d73b9b9e02dbb4301cb6f2a
This adds a polyfill for Apple's prefixed EME implementation. This
will be used on all macOS versions prior to 10.14 (Mojave) and on
Safari versions prior to 12.1.
This also adds support for FairPlay license protocol eccentricities
in DrmEngine, so that the proper formatting is used for requests and
responses.
Issue #382
Change-Id: If1274d2f018a475f56c09df97645694f13acbde9
Now that our demo might be running on iOS, where only HLS will be
supported, we need to filter out unsupported manifest types in the
demo app based on the results of probeSupport().
Note that disabled options in a select element are still selectable
on some iOS versions on iphone. This is certainly a browser bug
outside of my control, and may be obsoleted by design choices in the
upcoming replacement of our demo app.
Closes#997
Change-Id: I466e67729111bf7f3d70324e593d53e3456147a3
This change adds support for images via SMPTE-TT by adding background image support to the TTML text parser. This required changing region parsing to respect global extends.
Issue #840
Not all of our assets support offline storage. For example, livestreams
inherently cannot be stored. In addition, some DRM assets do not have
the right policy settings to be stored offline.
This change marks some assets as being offline-compatible, and disables
the button if the asset is not.
It also removes some obsolete code that somehow ended up getting into
the asset structure.
Issue #1768
Change-Id: I22671bd82e9c5e4645158a6e0a2f8f91893082c7
- Changed livesim assets to new host URLs https://livesim.dashif.org.
- Added SegmentTimeline with $Number$ in addition to SegmentTimeline with $Time$.
- Added startOver URLS: interval [-20s, 20s] compared to wall-clock. These turn into static at interval end.
- Corrected some information.
This is another version of Sintel with many more subtitle languages.
This should stress out the UI a bit. :-)
Change-Id: I675b5a729dc7174b3237b2c2ff397240be623e40
This replaces almost every instance of indexOf on both String and
Array. There are very few places where we really wanted an index.
Mostly, indexOf was used to check for inclusion.
Change-Id: I08e299768b6ffdb4bfc30b39b5d82a058c6d1b56
Previously, we have removed the Big Buck Bunny DASH-IF from our
demo assets. It was not loading properly, due to header issues.
Just today, the DASH-IF people moved those test assets to a new domain
with working headers, so this re-adds the asset with the new domain.
Change-Id: I089a781d8525a47dfcadcae2feccacbbdc81f848
According to @beaufortfrancois, we should no longer be using protocol-
relative URIs. He quotes this passage from Paul Irish:
> Now that SSL is encouraged for everyone and doesn’t have performance
> concerns, this technique is now an anti-pattern. If the asset you
> need is available on SSL, then always use the https:// asset.
> Allowing the snippet to request over HTTP opens the door for attacks
> like the recent Github Man-on-the-side attack. It’s always safe to
> request HTTPS assets even if your site is on HTTP, however the
> reverse is not true.
Source: https://www.paulirish.com/2010/the-protocol-relative-url/
This change was begun with the following command:
git grep -l "'//" | xargs sed -i "s@'//@'https://@g"
Some changes made by that command were false-positives, which I then
reverted manually. Others required additional cleanup to meet style
rules.
I've also just discovered that the "max-len" rule in eslint's Google
style config exempts URIs, so there's no need to disable the max-len
rule on URIs in the assets list. These have been removed in the asset
list where unnecessary.
Finally, testing these updated URIs led to the discovery that two of
our third-party demo assets are no longer available. One URI needed
to be updated. The other had no obvious replacement, so it was
removed.
Closes#1390
Change-Id: I2fe23faec04f1904c1741236b364d5089900092a
We should no longer set "include credentials" on VDMS license
requests. Doing so results in a CORS error. This change fixes
playback of a couple assets in the demo player.
This makes a large number of small typo fixes. It also rewords a
number of comments and JSDoc descriptions, and does some
formatting standardization.
This doesn't fix every single issue, but it fixes a lot. Notably,
there were some formatting issues I declined to standardize due to
ambivalence on what the proper standardization would be; for example,
when and where empty lines should show up in JSDoc.
Change-Id: I93d0f3faedb8a42423b6971f6499d651b20492d1
Tizen 2017 will not accept "let" at a global scope, and fails with:
Block-scoped declarations (let, const, function, class) not yet
supported outside strict mode
Until we are ready to run in strict mode, we simply override the style
policy and use "var" instead of "let" at this one spot.
Bug: 73781672
Change-Id: I304f81971442534cdac6f6d48c76b68a73cdccb1
This is part of a change to convert all usages of 'var' with either
'let' or 'const'. This takes a conservative approach for 'const' where
it will only be used for aliases and storing the "original" values in
tests.
Change-Id: I270c70f6cda733ca6121d0761b4c1c162104d379